WRF compilation with PGI

All things involving the setup (compiling, NetCDF, etc.) of the WRF Model itself.

WRF compilation with PGI

Postby Enea2301 » Sun Nov 24, 2019 12:33 pm

Hi! I've been trying for several days to compile all needed libraries for WRF, and, after that, WRF itself.

So far I've been able to compile NETCDF (old all-in-one version 4.1.2), libpng, zlib and jasper (all needed by WRF and WRF preprocessor).

So far, it seems that libraries are doing OK, as tests provided by WRF for libraries work flawlessly just by changing the compiler of them (it comes with gcc/gfortran by default) to pgcc and pgfortran, the ones I've used with PGI compiler.

The problem comes when I try to compile WRF for real case. It fails, not creating .exe files.

I attach the log.
Link to the log.compile file -> https://drive.google.com/file/d/15df3kIbOl29Tyj44wefxmNQSgM2w1N8o/view?usp=sharing

Any help would be well received. I'm totally new to compilers, flags and touching this level of things, but I'm trying to learn from these errors.

Roberto

PD: I've tried to compile new NETCDF versions (the ones that are separated into C, CXX, Fortran and the one that just says "netcdf-4.7.x"), but I've failed all the time. Perhaps the cause is using so old netcdf, but is strange as tests are passed before trying to compile WRF.
Enea2301
 
Posts: 1
Joined: Sun Nov 24, 2019 12:21 pm

Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

cron