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

runtime error: ***/cesm.exe: symbol lookup error: ***/cesm.exe: undefined symbol: netcdf_mp_nf90_open_

Hello, everyoneI was running CESM1.2.1 with intel compiler. I could successfully compile the cesm.exe. But when I qsub ***.run, the error mesage was:***/cesm.exe: symbol lookup error: ***/cesm.exe: undefined symbol: netcdf_mp_nf90_open_I modifed in Tools/Makefile to added -lnetcdff after -lnetcdf, if not, the compilation would not finish successful.I tried the same component setting in CESM1.1.2, it worked smoothly.I could appreciate it anyone do me a favor.
 

jedwards

CSEG and Liaisons
Staff member
If the compile completed without error but you got this message at runtime - it's probably a shared library issue  - the netcdf library directory needs to be in the LD_LIBRARY_PATH.   There is a bug fix update of 1.2.1 - 1.2.2 which may solve this problem.   You might also look at the link line of both builds and see if you can spot the difference - it's in the ccsm.bldlog file. 
 
Thanks very much for replying.But where can I read about and download such bug fixes?And also pgi stuff with old netcdf version could not compile cesm1.2.1, but could compile cesm1.1.2 (also could run well).
 
HelloI was trying to build CESM1.2.2 with intel stuff. But I failed to compile mct. The error message was:checking whether the C compiler works... noconfigure: error: in `/home/tauhonson/cesm_run/1_2_2/FMOZ_trial/intel/mpich/nodebug/nothreads/mct':configure: error: C compiler cannot create executablesThe same configuration ( including the same mpicc and icc, I used mpich2.1.5 compiled with intel) worked well when building CESM1.2.1.  
 

jedwards

CSEG and Liaisons
Staff member
Look for the error in /home/tauhonson/cesm_run/1_2_2/FMOZ_trial/intel/mpich/nodebug/nothreads/mct/config.log 
 
Top