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

SHAREDLIBROOT is set to "UNSET" while running create_test script

I am having problems running “create_test” script with “prebeta” test category on one of our local clusters. I ran scripts “manage_xml_entries -addlist” to add ERS and ERI test cases for prebeta category for this cluster.

When I run the script as follows:
./create_test -xml_mach cascade -xml_compiler intel -xml_category prebeta -testid prebeta01 -testroot /home/sing201/ACME_testing/ | & tee log

I get the following error:

~~~~~~~~~~~~~~
touch: cannot touch `UNSET/sharedlibroot.prebeta01/INTEL/mpich/nodebug/nothreads/mct.bldlog.140818-170707': No such file or directory
tee: UNSET/sharedlibroot.prebeta01/INTEL/mpich/nodebug/nothreads/mct.bldlog.140818-170707: No such file or directory
Mon Aug 18 17:07:13 PDT 2014 UNSET/sharedlibroot.prebeta01/INTEL/mpich/nodebug/nothreads/mct.bldlog.140818-170707
UNSET/sharedlibroot.prebeta01/INTEL/mpich/nodebug/nothreads/mct.bldlog.140818-170707: No such file or directory.
ERROR: buildlib.mct failed, see UNSET/sharedlibroot.prebeta01/INTEL/mpich/nodebug/nothreads/mct.bldlog.140818-170707
ERROR: cat UNSET/sharedlibroot.prebeta01/INTEL/mpich/nodebug/nothreads/mct.bldlog.140818-170707
ERS.f19_g16.FC5.cascade_intel.prebeta01 build status: CFAIL
~~~~~~~~~~~~~~
I looked into env_build.xml file and found the following:

~~~~~~~~~~~



~~~~~~~~~~~

I think for some reason, "SHAREDLIBROOT" variables is not set right. The comment above says that it should be set automatically to $EXEROOT but it seems like it is not working. My $EXEROOT is env_build.xml is:
~~~~~~~~~~~


~~~~~~~~~~~~

Would you please advise me what I might be missing? I am using cesm1_3_beta10 model for testing purposes. I have attached my env_build.xml file for your reference.
Thanks!
 

jshollen

New Member
Hi Balwinder,
Can you post the section of config_machines that you have set up corresponding to your cascade cluster? Jay
 
Thanks for your reply.Here is that section:         PNL cluster, os is Linux (pgi), batch system is SLURM         LINUX         intel,nag         mpich         /dtemp/$CCSMUSER/csmruns/$CASE/run         /dtemp/$CCSMUSER/csmruns/$CASE/bld         /dtemp/sing201/inputdata/CAM/CSMDATA_CAM/aerocom/csmdata         /dtemp/sing201/inputdata/CAM/CSMDATA_CAM/aerocom/csmdata/atm/datm7         /dtemp/$CCSMUSER/archive/$CASE         csm/$CASE         /dtemp/sing201/ACME_testing/acme_baselines/         /home/sing201/CAM/cprnc/cprnc         showq         msub         balwinder.singh at pnnl dot gov         8         16 Thanks!
 

jedwards

CSEG and Liaisons
Staff member
I think that you just need to add a field: 
Code:
<CESMSCRATCHROOT>/dtmp/$CCSMUSER/csmruns</CESMSCRATCHROOT>
 
Thanks Jay. I added the above line and now I am getting the following error: ~~~~~ COMPILER is INTEL - Build Libraries: mct gptl pio csm_sharemkdir: cannot create directory `/dtemp//csmruns': Permission deniedmkdir: cannot create directory `/dtemp//csmruns': Permission deniedmkdir: cannot create directory `/dtemp//csmruns': Permission denied/dtemp//csmruns/sharedlibroot.prebeta01/INTEL/mpich/nodebug/nothreads: No such file or directory.ERS.f19_g16.FC5.cascade_intel.prebeta01 build status: CFAIL~~~~~   The relevant content in my env_build.xml file is: ~~~~~~~~  For some reason, the script is not picking up $CCSMUSER variable. Thanks!
 

jedwards

CSEG and Liaisons
Staff member
That variable needs to be defined in your environment before you run create_test.   On a lot of systems changing $CCSMUSER to $USER will solve the problem.
 
Top