Main menu

Navigation

shr_reprosum_mod.F90 on Mira

10 posts / 0 new
Last post
azamat@...
shr_reprosum_mod.F90 on Mira

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 $<

 

+QSMPFLAGS:=

+ifeq ($(compile_threaded), true)

+  QSMPFLAGS += -qsmp=noauto:noomp

+endif

+shr_reprosum_mod.o: shr_reprosum_mod.F90

+       $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(QSMPFLAGS) $<

 

Thanks.

jedwards

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 $<

CESM Software Engineer

santos

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-1009295

It looks like we need to post that information somewhere where it's more visible.

Sean Patrick Santos

CESM Software Engineering Group

santos

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

Sean Patrick Santos

CESM Software Engineering Group

azamat@...

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

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-xl

soft add @ibm-compilers-2014-08

 

 

CESM Software Engineer

azamat@...

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

What CESM version are you using?

CESM Software Engineer

azamat@...

This version is a derivative of tag cesm1_3_beta10 and beta13. The workaround above is how I was able to avoid the error.

jedwards

I would be curious to understand why you need the -qnosmp:noauto flag but I do not but since you can't point to a

CESM version and I can't reproduce your problem I guess we are done.

CESM Software Engineer

Log in or register to post comments

Who's new

  • 1658093099@...
  • mborreggine@...
  • kabirtam@...
  • suns@...
  • liangpeng0405@...