Portland Group Compiler Setting Needed for MPP MM5v3.7 on Linux
An important option for compiling the MM5/MPP with Portland Group
Fortran and running on Linux was inadvertently dropped in this file
of the v3.7 distribution:
MPP/RSL/RSL/makefile.linux
The omission will cause the model to halt quickly, trying to read
MMINPUT_DOMAIN1 with an error that looks something like this in
the rsl.error.0000 file:
PGFIO-F-/unformatted read/unit=11/error
code returned by host stdio - 11.
File name = MMINPUT_DOMAIN1 unformatted, sequential access record
= 5
In source file fort_realread.F, at line number 66
If you encounter this problem, edit MPP/RSL/RSL/makefile.linux and
add the option -byteswapio to FFLAGS so it looks like this:
FFLAGS
= -O -byteswapio
After you make this change, you must "make uninstall"
and recompile.
|