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

case.run error

Dear all,I am running CESM2.0 on Canada super computer Niagara. I created a case named fxsd with compset FXSD, run unsupported. When I run the command case.submit,there is an error as:ERROR: Command /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/components/clm/bld/build-namelist failed rc=2out=err=Can't locate XML/LibXML.pm in @INC (@INC contains: /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/components/clm/bld /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/components/clm/bld /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/cime/scripts/Tools/../../utils/perl5lib /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/components/clm/bld /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/cime/scripts/Tools/../../utils/perl5lib/Config/SetupTools.pm line 5.BEGIN failed--compilation aborted at /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/cime/scripts/Tools/../../utils/perl5lib/Config/SetupTools.pm line 5.Compilation failed in require at /gpfs/fs0/scratch/y/yochen/xiaoshi/cesm/my_cesm_sandbox/components/clm/bld/CLMBuildNamelist.pm line 413. It seems something wrong with perl module. I have loaded module perl/5.26.1. I attached the log files. Any help is appreciated.
 

zongy17

zongy17
New Member
hi, after I installed libxml2, I still got the problem. Do you have any other advice?
By the way, I ran perl -MXML::libXML -e 1 on front-end node and got nothing wrong to report, but on compute nodes it showed that:
Can't locate XML/libXML.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
And if I ran xml2-config --version, both front-end and compute nodes printed the version number.
I don' t know what is wrong with them. Could you help me please?
 

ohmpawat

ohmpawat chen
Member
hi, after I installed libxml2, I still got the problem. Do you have any other advice?
By the way, I ran perl -MXML::libXML -e 1 on front-end node and got nothing wrong to report, but on compute nodes it showed that:
Can't locate XML/libXML.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
And if I ran xml2-config --version, both front-end and compute nodes printed the version number.
I don' t know what is wrong with them. Could you help me please?
Hi, I met the same error. Have you solve the problem? Please tell me the solution. Please! I will be very thankful!
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
If you need to run on the compute nodes as well as the front end nodes, you'll need to install LIBXML in both places. It sounds like that's the issue. You also need to make sure you have permission to install it, you may need to have a system administrator to install it for you in both places.
 

ohmpawat

ohmpawat chen
Member
If you need to run on the compute nodes as well as the front end nodes, you'll need to install LIBXML in both places. It sounds like that's the issue. You also need to make sure you have permission to install it, you may need to have a system administrator to install it for you in both places.
This problem has been solved. Thanks for your reply!
 
Top