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

Fv dycore spmd_dyn.F90 and intel 14.x compiler

aliceb

Member
Affected Releases:
CESM 1.3.z (development)
CESM1.2.z
CESM1.1.z
CESM1.0.z
(Bugzilla 2406) - All versions of CESM are not currently supported with the Intel 14.x compiler. This known issue is posted for users wishing to port to their own platform using the Intel 14.x compiler.

Compiling the file dynamics/fv/spmd_dyn.F90 at the default -O2 optimization level using the intel 14.0.2 causes a runtime error at initialization.

Reducing the optimization to -O1 solves the problem. You can do this by adding the following to the file Depends.intel in the case directory or the Machines directory:


Code:
ifeq ($(CAM_DYCORE),fv) then
   NOOPTOBJS = spmd_dyn.o

<span style="line-height: 20.0063037872314px;">   $</span>(NOOPTOBJS): %.o: %.F90
<span style="line-height: 20.0063037872314px;">   </span><span style="line-height: 20.0063037872314px;">   $</span>(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O1 $<
endif
 

jedwards

CSEG and Liaisons
Staff member
Using this version of spmd_dyn.F90 will also solve the problem without requiring the reduced optimization:https://svn-ccsm-models.cgd.ucar.edu/cam1/branches/fvspdmdyn_fix_cam5_3_45/models/atm/cam/src/dynamics/fv/spmd_dyn.F90
 

jedwards

CSEG and Liaisons
Staff member
Using this version of spmd_dyn.F90 will also solve the problem without requiring the reduced optimization:https://svn-ccsm-models.cgd.ucar.edu/cam1/branches/fvspdmdyn_fix_cam5_3_45/models/atm/cam/src/dynamics/fv/spmd_dyn.F90
 

jedwards

CSEG and Liaisons
Staff member
Using this version of spmd_dyn.F90 will also solve the problem without requiring the reduced optimization:https://svn-ccsm-models.cgd.ucar.edu/cam1/branches/fvspdmdyn_fix_cam5_3_45/models/atm/cam/src/dynamics/fv/spmd_dyn.F90
 

jedwards

CSEG and Liaisons
Staff member
Using this version of spmd_dyn.F90 will also solve the problem without requiring the reduced optimization:https://svn-ccsm-models.cgd.ucar.edu/cam1/branches/fvspdmdyn_fix_cam5_3_45/models/atm/cam/src/dynamics/fv/spmd_dyn.F90
 

jedwards

CSEG and Liaisons
Staff member
Using this version of spmd_dyn.F90 will also solve the problem without requiring the reduced optimization:https://svn-ccsm-models.cgd.ucar.edu/cam1/branches/fvspdmdyn_fix_cam5_3_45/models/atm/cam/src/dynamics/fv/spmd_dyn.F90
 

santos

Member
For users without access to the development repository, the spmd_dyn.F90 with workaround is attached. 
 

santos

Member
For users without access to the development repository, the spmd_dyn.F90 with workaround is attached. 
 

santos

Member
For users without access to the development repository, the spmd_dyn.F90 with workaround is attached. 
 
Top