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

Problem while setting up a case

Whenever I try to setup the case using ./case.setup command. i get the following error on my Linux Ubuntu 16.0.4 machine.
ERROR: module command /usr/bin/modulecmd python purge failed with message:
/bin/sh: 1: /usr/bin/modulecmd: not found
 

dbailey

CSEG and Liaisons
Staff member
Looks like you do not have modules on your machine, or the module environment is different. You should consult the porting guide and the porting forum. I am moving this post there.
 

jedwards

CSEG and Liaisons
Staff member
If your system does not have modules use the following line in config_machines.xml
<module_system type="none" />
 
Dear jedwards and dbailey,
Thank you for the prompt reply. I solved the problem by using sudo apt-get install environment-modules. But now I have a different error which says source not found when i run case.setup . Please find the log file below.
Thank you,
Vinayak
 

Attachments

  • error.txt
    764 bytes · Views: 27

jedwards

CSEG and Liaisons
Staff member
What happens when you run "source /usr/share/Modules/init/sh && module list" from the command line?

Is the path to Modules/init above correct? If not you may need to make a copy of the centos7-linux machine

definition and make changes to define your own machines.
 
What happens when you run "source /usr/share/Modules/init/sh && module list" from the command line?

Is the path to Modules/init above correct? If not you may need to make a copy of the centos7-linux machine

definition and make changes to define your own machines.
I realized this problem. Tried changing the path of modules to my actual system path i.e. /use/share/modules/init/sh in env_machine_specific.xml, but still the same error is occuring.
 
Dear jedwards,
Thank you for your help so far. Now, when i run ftp server for data download is not responding. Also, I get following error at the end of build. I thought this might be due to BLAS and LAPACK. But, when i ran a trivial .F90 codes based on BLAS and LAPACK they were working perfectly.

Building cesm with output to /home/user/cesm/scratch/test/bld/cesm.bldlog.200224-105225
matrix_operations.F90:(.text+0xd4): undefined reference to `dsyev_'

matrix_operations.F90:(.text+0x65c): undefined reference to `dpoequ_'

matrix_operations.F90:(.text+0x6a9): undefined reference to `dlaqsy_'

matrix_operations.F90:(.text+0x7c0): undefined reference to `dpotrf_'

lapack_wrap.F90:(.text+0x4f6): undefined reference to `dgbsv_'

lapack_wrap.F90:(.text+0xd84): undefined reference to `dgbsvx_'

lapack_wrap.F90:(.text+0x15f4): undefined reference to `dgtsv_'

lapack_wrap.F90:(.text+0x1ade): undefined reference to `dgtsvx_'

SoilWaterMovementMod.F90:(.text+0x2cc8): undefined reference to `dgtsv_'

UrbBuildTempOleson2015Mod.F90:(.text+0x2b51): undefined reference to `dgesv_'

BandDiagonalMod.F90:(.text+0x928): undefined reference to `dgbsv_'

glam_strs2.F90:(.text+0x6aa): undefined reference to `dcopy_'

glam_strs2.F90:(.text+0x712): undefined reference to `ddot_'

glam_strs2.F90:(.text+0x922): undefined reference to `dcopy_'

glam_strs2.F90:(.text+0x951): undefined reference to `dcopy_'

glam_strs2.F90:(.text+0x9a5): undefined reference to `ddot_'

glam_strs2.F90:(.text+0xa24): undefined reference to `daxpy_'

glam_strs2.F90:(.text+0xa69): undefined reference to `ddot_'

glam_strs2.F90:(.text+0xea1): undefined reference to `daxpy_'

glam_strs2.F90:(.text+0xfd2): undefined reference to `daxpy_'

dcgs.f:(.text+0x6c): undefined reference to `dnrm2_'

dcgs.f:(.text+0xf1): undefined reference to `dnrm2_'

dcgs.f:(.text+0x170): undefined reference to `dnrm2_'

dcgs.f:(.text+0x196): undefined reference to `dnrm2_'

dcgs.f:(.text+0x1d6): undefined reference to `dnrm2_'

dcgs.f:(.text+0x693): undefined reference to `ddot_'

dcgs.f:(.text+0x824): undefined reference to `ddot_'

dcgs.f:(.text+0x8d7): undefined reference to `daxpy_'

dcgs.f:(.text+0x978): undefined reference to `daxpy_'

dcg.f:(.text+0x54): undefined reference to `dnrm2_'

dcg.f:(.text+0x7a): undefined reference to `dnrm2_'

dcg.f:(.text+0xf2): undefined reference to `dnrm2_'

dcg.f:(.text+0x118): undefined reference to `dnrm2_'

dcg.f:(.text+0x150): undefined reference to `dnrm2_'

dcg.f:(.text+0x551): undefined reference to `ddot_'

dcg.f:(.text+0x5a1): undefined reference to `dcopy_'

dcg.f:(.text+0x631): undefined reference to `ddot_'

dcg.f:(.text+0x685): undefined reference to `daxpy_'

dcg.f:(.text+0x6ba): undefined reference to `daxpy_'

dgmres.f:(.text+0x118): undefined reference to `daxpy_'

dgmres.f:(.text+0x183): undefined reference to `dcopy_'

dgmres.f:(.text+0x2ad): undefined reference to `dscal_'

dgmres.f:(.text+0x6ea): undefined reference to `dnrm2_'

dgmres.f:(.text+0x778): undefined reference to `ddot_'

dgmres.f:(.text+0x7c8): undefined reference to `daxpy_'

dgmres.f:(.text+0x7f9): undefined reference to `dnrm2_'

dgmres.f:(.text+0x88c): undefined reference to `ddot_'

dgmres.f:(.text+0x8f8): undefined reference to `daxpy_'

dgmres.f:(.text+0xa7c): undefined reference to `daxpy_'

dgmres.f:(.text+0xb00): undefined reference to `dcopy_'

dgmres.f:(.text+0xca4): undefined reference to `dnrm2_'

dgmres.f:(.text+0xd2f): undefined reference to `dscal_'

dgmres.f:(.text+0xe16): undefined reference to `dscal_'

dgmres.f:(.text+0x10d4): undefined reference to `dcopy_'

dgmres.f:(.text+0x110c): undefined reference to `dnrm2_'

dgmres.f:(.text+0x1168): undefined reference to `dnrm2_'

dgmres.f:(.text+0x14e7): undefined reference to `dcopy_'

dgmres.f:(.text+0x15da): undefined reference to `dnrm2_'

dgmres.f:(.text+0x1754): undefined reference to `dscal_'

dgmres.f:(.text+0x1878): undefined reference to `dcopy_'

dgmres.f:(.text+0x19e6): undefined reference to `dcopy_'

dgmres.f:(.text+0x1bfe): undefined reference to `dcopy_'

dgmres.f:(.text+0x1d3f): undefined reference to `dnrm2_'

dgmres.f:(.text+0x1ee8): undefined reference to `dscal_'

dgmres.f:(.text+0x20cd): undefined reference to `daxpy_'

dgmres.f:(.text+0x2153): undefined reference to `dcopy_'

dgmres.f:(.text+0x2466): undefined reference to `dcopy_'

dgmres.f:(.text+0x24e3): undefined reference to `dnrm2_'

dgmres.f:(.text+0x2602): undefined reference to `dcopy_'

ERROR: BUILD FAIL: buildexe failed, cat /home/user/cesm/scratch/test/bld/cesm.bldlog.200224-105225
 
Top