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

CESM2.1.4 case_build error:undefined reference to `netcdf_mp_nf90_xxxxxx'

wilma wang

Wilma Wang
New Member
Dear all,
I am porting CESM2.1.4 on a cluster environment. I encountered problems during the case_build stage. The compiler is Intel mpi.
I run the code as following:
Code:
./create_newcase --case runtestX --mach qhyc --compset X --res T42_T42
./case.setup
./case.build

Error occurred in the step "./case.build". I checked it and found most of them are "undefined reference to `netcdf_mp_nf90_xxxxxx".
The attachment includes the cesm.bldlog which includes the error info and three modified config_ xml_files.

Look forward to any useful suggestion.Thanks for your help soooooooo much!


Best regards,
Wilma.Wang
 

Attachments

  • cesm.bldlog.250716-164338.txt
    149.4 KB · Views: 1
  • config_batch.txt
    28.6 KB · Views: 0
  • config_compilers.txt
    46.9 KB · Views: 3
  • config_machines.txt
    1.9 KB · Views: 1

jedwards

CSEG and Liaisons
Staff member
You should update to the latest tag in the cesm2.1 series: cesm2.1.5
In the config_compilers I see:
<compiler COMPILER="qhyc">

I believe that this should be:
<compiler MACH="qhyc">

If that doesn't solve the problem check the pio.bldlog to make sure that it is finding the netcdf library.
 

wilma wang

Wilma Wang
New Member
You should update to the latest tag in the cesm2.1 series: cesm2.1.5
In the config_compilers I see:
<compiler COMPILER="qhyc">

I believe that this should be:
<compiler MACH="qhyc">

If that doesn't solve the problem check the pio.bldlog to make sure that it is finding the netcdf library.
Hi JEDWARDS,
Thanks for your reply. I already corrected the config_compilers file. But I got another error when building:

Code:
Building cesm with output to /home/bozk/Models/CESM2/cesm_2.1.4/cime/case/mycase/bld/cesm.bldlog.250717-105446
ERROR: Error gathering provenance information from manage_externals.

The machine I'm porting to doesn't have internet access, so I can't use git to download the full code, and I'm also wondering if there's a way to download the full version of cesm2.
cheers
Wilma W.
 

jedwards

CSEG and Liaisons
Staff member
You will need to use a machine that does have internet access to down load the code and then transfer it to your test system.
you are also going to need to do this to get the inputdata for each case. I think that the error you refer to above is resolved in cesm2.1.5.
 

wilma wang

Wilma Wang
New Member
You will need to use a machine that does have internet access to down load the code and then transfer it to your test system.
you are also going to need to do this to get the inputdata for each case. I think that the error you refer to above is resolved in cesm2.1.5.
Hi, Jedwards,
The problem has been solved by using "./case.build --skip-provenance-check".
Thanks for your comments. I am going to download the inputdata for each case.
cheers
Wilma
 
Top