[RegCNET] A New bug in RegCM-4.1.1 version

Graziano Giuliani ggiulian at ictp.it
Tue Jun 14 10:13:49 CEST 2011


On 06/14/2011 04:21 AM, huym wrote:
[...]
> mpif90 -c -I/public/software/netcdf-4/include  -DMPP1 -DCLM -O3 -byteswapio  -c mod_split.F90
> PGF90-F-0004-Unable to open MODULE file esmf_alarmmod.mod (mod_split.F90: 33)
> PGF90/x86-64 Linux 7.1-6: compilation aborted
[...]

Huym, try this quick fix for this issue:

Index: Main/Makefile
===================================================================
--- Main/Makefile       (revision 2190)
+++ Main/Makefile       (working copy)
@@ -14,6 +14,7 @@
 ifeq ($(USECLM),1)
 CLMPTH = ./clmlib
 CLMLIB = $(CLMPTH)/libclm.a
+F90FLAGS += -I$(CLMPTH)
 all:: $(CLMLIB) program
 prgsuffix = _clM
 else

i.e. add the line with leading +.

Note that You are using an old version of the PGI compiler we are not
supporting, so I am just guessing a solution: I do not have the PGI 7.1 to test
if the fix will be working.

Ciao!

-- 
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera, 11 - I - 34151 Trieste Italy



More information about the RegCNET mailing list