[ncl-install] Can't compile ctcell.f with PGI 16.5

Prentice Bisbal pbisbal at pppl.gov
Tue Jul 12 13:36:34 MDT 2016


I'm trying to compile ncarg (ncl_ncarg-6.3.0) with the Portland Group 
compilers when I get to ctcell.f, the build fails with this error:

> make[5]: Entering directory 
> `/local/pbisbal/ncl_ncarg-6.3.0/ncarg2d/src/libncarg/srface'
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o srface.o 
> srface.f
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o srfgk.o 
> srfgk.f
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o ezsrfc.o 
> ezsrfc.f
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o setr.o setr.f
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o draws.o 
> draws.f
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o trn32s.o 
> trn32s.f
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o clset.o 
> clset.f
> pgf90 -tp px-64 -O -Msignextend -Mreentrant -fPIC 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp  -O    -c -o ctcell.o 
> ctcell.f
> pgf90-Fatal-/usr/pppl/pgi/16.5/linux86-64/16.5/bin/pgf901 TERMINATED 
> by signal 9

The signal 9 seems to be coming from the operating system (RHEL 5.10),  
probably the OOM-killer, because pgf90 eventually uses up all the memory 
on the system. The system that I originally started building it on only 
has 500 MB of RAM, so I tried building it on a system with 128 GB of 
RAM. On that system, it took linger to fail, but it eventually failed in 
the same way, using up all of the systems memory before getting killed 
with signal 9.


Has anyone else seen this? Any idea how to fix this? I've tried a couple 
of earlier versions of pgfortran: 16.3 and 15.9 with the same exact 
results. I just compiled it with GCC 6.1.0 without any issue, so this 
problem seems to be specific to pgfortran.

-- 
Prentice



More information about the ncl-install mailing list