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

Error running cam standalone

Hi ,I am running CAM standalone on Xeon. The configure command is$cfrdir/configure  -rof srof -ocn socn -lnd slnd -ice sice -v -hgrid 1.9x2.5 -nospmd -nosmp -debug  -cc  mpiicc -cflags "$CFLAGS  -mP2OPT_hpo_matrix_opt_framework=0"  -fc mpiifort -fflags  "$FFLAGS -mP2OPT_hpo_matrix_opt_framework=0 -check noarg_temp_created" -test -clubb_sgs -nc_inc /storage/softwares/installedsoftware/netcdf_4.4.0/include -nc_lib /storage/softwares/installedsoftware/netcdf_4.4.0/lib -mpi_inc /opt/intel/impi/5.0.3.048/intel64/include -mpi_lib /opt/intel/impi/5.0.3.048/intel64/libexport PATH=/opt/intel//impi/5.0.3.048/intel64/bin:/storage/softwares/installedsoftware/netcdf_4.4.0:/storage/softwares/installedsoftware/hpctoolkit_new/bin/:/opt/intel/composer_xe_2015.2.164/bin/intel64:/usr/lib64/qt-3.3/bin:/opt/pdsh/bin:/usr/local/maui/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/opt/intel//impi/4.1.3.048/intel64/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/maui/sbin:/home/pratha/bin the segfault happens and error message field_atm,lmerge, imerge, xmerge, omerge= Fall_flxdst4 F T T T
forrtl: error (73): floating divide by zero
Image              PC                Routine            Line        Source            
cam                00000000066972B1  Unknown               Unknown  Unknown
cam                0000000006695A07  Unknown               Unknown  Unknown
cam                0000000006620E34  Unknown               Unknown  Unknown
cam                0000000006620C46  Unknown               Unknown  Unknown
cam                00000000065AF9BF  Unknown               Unknown  Unknown
cam                00000000065B994F  Unknown               Unknown  Unknown
libpthread.so.0    00000037FD40F500  Unknown               Unknown  Unknown
cam                00000000045F1FCC  seq_drydep_mod_mp         764  seq_drydep_mod.F90
cam                000000000226178A  mo_drydep_mp_dryd        2478  mo_drydep.F90
cam                00000000023A4F19  mo_gas_phase_chem        1141  mo_gas_phase_chemdr.F90
cam                0000000000C9FCE2  chemistry_mp_chem        1473  chemistry.F90
cam                00000000032BF976  physpkg_mp_tphysa        1396  physpkg.F90
cam                00000000032B6688  physpkg_mp_phys_r        1131  physpkg.F90
cam                000000000084BDFD  cam_comp_mp_cam_r         300  cam_comp.F90
cam                000000000067F5AE  atm_comp_mct_mp_a         563  atm_comp_mct.F90
cam                0000000000B94590  ccsm_comp_mod_mp_        4079  ccsm_comp_mod.F90
cam                0000000000BA49CC  MAIN__                     91  ccsm_driver.F90
cam                000000000042E01E  Unknown               Unknown  Unknown
libc.so.6          00000037FCC1ECDD  Unknown               Unknown  Unknown
cam                000000000042DF29  Unknown               Unknown  Unknown

 The build is successful,while the run fails .I am able to run the same code on Xeon phi for various configuration .Please tell me how can I resolve this issue . RegardsPratha  
 

eaton

CSEG and Liaisons
This is not a supported configuration.  The only physics options that I expect to work when all the surface components are specified to be stubs (i.e., slnd, socn, sice) are adiabatic and ideal physics.  This configure command doesn't specify the -phys option, so the default cam5 physics will be chosen.  That physics implies interactions with the surface.  It's not surprising that the code is crashing in a dry deposition routine. 
 

eaton

CSEG and Liaisons
This is not a supported configuration.  The only physics options that I expect to work when all the surface components are specified to be stubs (i.e., slnd, socn, sice) are adiabatic and ideal physics.  This configure command doesn't specify the -phys option, so the default cam5 physics will be chosen.  That physics implies interactions with the surface.  It's not surprising that the code is crashing in a dry deposition routine. 
 
Thanks .I changed it and now it works  but The code runs on Xeon with O1 option ,but not with O2 option .Is there something wrong with some part of the code or  something wrong with the compiler ?

Surprisingly the same code works with O3 option natively on Xeon phi .Can you provide me method to test the validity of the result generated on Xeon phiAny suggestions on the same
 
Thanks .I changed it and now it works  but The code runs on Xeon with O1 option ,but not with O2 option .Is there something wrong with some part of the code or  something wrong with the compiler ?

Surprisingly the same code works with O3 option natively on Xeon phi .Can you provide me method to test the validity of the result generated on Xeon phiAny suggestions on the same
 

eaton

CSEG and Liaisons
We are developing a port validation for the cam5 physics package.  The following link is a simple test that can be used with the cam4 physics package.http://www.cesm.ucar.edu/models/cesm1.0/cam/docs/port/
 

eaton

CSEG and Liaisons
We are developing a port validation for the cam5 physics package.  The following link is a simple test that can be used with the cam4 physics package.http://www.cesm.ucar.edu/models/cesm1.0/cam/docs/port/
 
/home/pratha/newcesm_xeon/cesm1_2_2/models/atm/cam/bld/configure -clubb_sgs -hgrid 1.9x2.5 -spmd -ntasks 32 -cc mpiicc -debug -cflags "-O2 -g -no-prec-div -static-intel  -check noarg_temp_created" -fc mpiifort -fflags  "-O2 -g -no-prec-div -static-intel  -check noarg_temp_created" -test -v -nc_inc /storage/softwares/installedsoftware/netcdf_4.4.0/include -nc_lib /storage/softwares/installedsoftware/netcdf_4.4.0/lib -mpi_inc /opt/intel/impi/5.0.3.048/intel64/include -mpi_lib /opt/intel/impi/5.0.3.048/intel64/libThe above configuration successfully runs with O1 optimization enabled ,but fails with O2 optimization level .Also When I try to create thread I get same segmentation fault.PFARegardsPratha 
 
/home/pratha/newcesm_xeon/cesm1_2_2/models/atm/cam/bld/configure -clubb_sgs -hgrid 1.9x2.5 -spmd -ntasks 32 -cc mpiicc -debug -cflags "-O2 -g -no-prec-div -static-intel  -check noarg_temp_created" -fc mpiifort -fflags  "-O2 -g -no-prec-div -static-intel  -check noarg_temp_created" -test -v -nc_inc /storage/softwares/installedsoftware/netcdf_4.4.0/include -nc_lib /storage/softwares/installedsoftware/netcdf_4.4.0/lib -mpi_inc /opt/intel/impi/5.0.3.048/intel64/include -mpi_lib /opt/intel/impi/5.0.3.048/intel64/libThe above configuration successfully runs with O1 optimization enabled ,but fails with O2 optimization level .Also When I try to create thread I get same segmentation fault.PFARegardsPratha 
 
Top