Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Building with "UnicodeDecodeError" after porting to a new machine

Building with "UnicodeDecodeError"

  • solutions

    Votes: 0 0.0%
  • porting guidance

    Votes: 0 0.0%

  • Total voters
    0

Jerry

Cao
New Member
Dear All,
I am trying to port CESM2.1.3 to a HPC system.
After compiling and installing the required software libraries, I tried to run a test case with compset "B1850".
However, when executing case.build, an error related to 'UnicodeDecodeError' occurred.
The error occurs during the compilation of the land model component, so I upload the clm build log file.
By the way, When I tested with the G compset, the compilation passed.
And I also upload the config_machines.xml, config_compilers.xml and config_batch.xml.
As well as the loaded environment variables
export PATH=/public/home/amduan/CESM_Env/GNU/bin:/public/home/amduan/CESM_Env/OPENMPI/bin:$PATH
export LD_LIBRARY_PATH=/public/home/amduan/CESM_Env/GNU/lib64:/public/home/amduan/CESM_Env/OPENMPI/lib:/public/home/amduan/CESM_Env/OPENBLAS/lib:/public/home/amduan/CESM_Env/HDF5/lib:/public/home/amduan/CESM_Env/NETCDF/lib:/public/home/amduan/CESM_Env/PNETCDF/lib:$LD_LIBRARY_PATH
export NETCDF=/public/home/amduan/CESM_Env/NETCDF
export HDF5=/public/home/amduan/CESM_Env/HDF5

export PNETCDF=/public/home/amduan/CESM_Env/PNETCDF
module load python/3.8.1 cmake/3.15
 

Attachments

  • lnd.bldlog.txt
    794 bytes · Views: 0
  • config_batch.xml.txt
    3.4 KB · Views: 0
  • config_compilers.xml.txt
    1.9 KB · Views: 1
  • config_machines.xml.txt
    1.4 KB · Views: 3

jedwards

CSEG and Liaisons
Staff member
You should first update to the latest release in the 2.1.x series - 2.1.5 I believe that the Unicode error is due to a python version mismatch that should be solved in 2.1.5.
 

Jerry

Cao
New Member
You should first update to the latest release in the 2.1.x series - 2.1.5 I believe that the Unicode error is due to a python version mismatch that should be solved in 2.1.5.
Hi, Jedwards. Thanks for your reply.
The python version I use is 3.8.1.
Can I solve the error by changing python's version?
 

jedwards

CSEG and Liaisons
Staff member
You can solve the error in a supported way by updating to cesm2.1.5. You can also solve this issue by using python 2.7 but this is not a supported or recommended solution.
 
Top