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

shr_reprosum_mod.F90 on Mira

azamat@anl_gov

New Member
I am getting sig-abort run-time errors at models/csm_share/shr/shr_reprosum_mod.F90:994. A workaround is the following diff:
-SSOBJS = shr_reprosum_mod.o mo_sethet.o mo_drydep.o time_management.o+SSOBJS = mo_sethet.o mo_drydep.o time_management.o  $(SSOBJS): %.o: %.F90        $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS)  -qsmallstack $
 

jedwards

CSEG and Liaisons
Staff member
This is  a known problem on mira, the prefered solution is to add the following to the file Depends.mira in your case directory:(Note that this is Makefile format and the space at the beggining of the line is a Tab) SSOBJS = shr_reprosum_mod.o mo_sethet.o mo_drydep.o

$(SSOBJS): %.o: %.F90
    $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS)  -qsmallstack $<

 

santos

Member
It seems that a better solution is to remove "-DnoI8" from your Macros file, as mentioned here:https://bb.cgd.ucar.edu/comment/1009295#comment-1009295It looks like we need to post that information somewhere where it's more visible.
 

santos

Member
Hmm, this exchange might be confusing, so let me see if I can clarify.The current released version (CESM 1.2.2) uses "-qsmp=noomp" and "-DnoI8", which worked at the time it was released, but I believe has had issues since then.The development version of CESM is using "-qsmallstack" and has "-DnoI8" removed, and that seems to be a better solution.You have some intermediate or branched version (ACME?), which has both "-qsmallstack" and "-DnoI8", and that apparently does not work with the current XLF version on Mira.Edit: Jim Edwards has made a known problem post for this:https://bb.cgd.ucar.edu/known-problems-mira-bluegeneq-systems
 

azamat@anl_gov

New Member
I removed "-DnoI8" and had the same errors but now at line 999 in shr_reprosum_mod.F90. So, it seems that "-qsmp=noauto:noomp" is still needed. Unless I am using a different XLF version -- mine is "@ibm-compilers-2014-02".
 

jedwards

CSEG and Liaisons
Staff member
After you remove that flag you should touch the shr_reprosum_mod.F90 or otherwise assure that the file is rebuilt.Try updating your compiler version...soft add +mpiwrapper-xlsoft add @ibm-compilers-2014-08  
 

azamat@anl_gov

New Member
I updated compiler version to 2014-08 and still had the same run-time error. It can be reproduced on test case ERI.ne30_g16.B1850C5CN.mira_ibm.
 

jedwards

CSEG and Liaisons
Staff member
I would be curious to understand why you need the -qnosmp:noauto flag but I do not but since you can't point to aCESM version and I can't reproduce your problem I guess we are done.
 
Top