Coder Social home page Coder Social logo

Comments (3)

stepan-tsirkin avatar stepan-tsirkin commented on July 2, 2024

Hi @Gargee-123 ,

following comments under #21 , could you try setting "export LANG=en_US.UTF-8 and export LC_ALL=en_US.UTF-8 in your shell. Would it solve the problem?

from bandup.

Gargee-123 avatar Gargee-123 commented on July 2, 2024

Hi Stepan,

I have added "export LANG=en_US.UTF-8 and export LC_ALL=en_US.UTF-8 to my .bashrc and run the BandUP code for generating the SC K-path. I am still getting the error.

===========================================================================

           Pre-processing utility "get_SCKPTS_pre_BandUP"

Getting the SC-KPTS you'll need for your plane-wave calc. <<<

Checking if you are working with the smallest possible SC:
* Your SC seems to be a perfect repetition of a smaller PC!
> That's OK if you really want it, but using the smallest
possible SC will certainly save you some time!
* We attempted to find a possible PC associated with it.
Please take a look at the file "BandUP_suggestion_of_smaller_SC_based_on_your_input_SC.POSCAR".

Checking if working with the smallest possible ref. unit cell:
* OK!

===========================================================================
ERROR!!

The SC and the reference PC that you have chosen are not commensurate!
The choice of the reference PC vectors is very important and can change
a lot the results of unfolding. It is particularly important to always
verify that the SC and the reference PC are commensurate. Otherwise, the
Traceback (most recent call last):
File "/home/au658188/Downloads/bandup-master/bandup", line 73, in
run_requested_task(args)
File "/home/au658188/Downloads/bandup-master/src/python_interface/bandupy/runners.py", line 73, in run_requested_task
run_pre_bandup_tool(args)
File "/home/au658188/Downloads/bandup-master/src/python_interface/bandupy/runners.py", line 53, in run_pre_bandup_tool
for line in iter(bandup_pre_unf_run.stdout.readline, ''):
File "/home/au658188/anaconda3/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 857: invalid continuation byte

from bandup.

stepan-tsirkin avatar stepan-tsirkin commented on July 2, 2024

Problem is the same as #27

from bandup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.