source: trunk/MESOSCALE_DEV/NETCDF/pgfortran_64_note.txt @ 937

Last change on this file since 937 was 341, checked in by aslmd, 13 years ago

MESOSCALE: tests pour faire marcher le modele en parallele sur la ferme. toujours infructueux... toutes les notes incluses et options explorees en commentaire. les options par defaut restent les memes en attendant. ajout de scripts pour compiler NETCDF et MPI. correction d un probleme de Registry et de makemeso pour les runs LES ancienne physique. ajout d un cas test LES phoenix.

File size: 696 bytes
Line 
1Linux, Portland Group version 6 compilers
2
3For netCDF version 3.6.1, Jason Elsom reports that he needed to use -mcmodel=medium flags when compiling a netCDF client program with pgf90 for a 64-bit target platform using version 6 PGI compilers, in order to access more than 2 GB of memory. In addition, he compiled the netCDF library with -fpic -Mlarge_arrays "to avoid an inconsistent addressing problem". Here are the specific environment variables he used to build the netCDF libraries:
4
5CC              = pgcc
6CXX             = pgCC
7FC              = pgf90
8F90             = pgf90
9CFLAGS          = -O2 -Msignextend -fpic -Mlarge_arrays
10CXXFLAGS        = -fpic -Mlarge_arrays
11FFLAGS          = -O2 -w  -fpic -Mlarge_arrays
12F90FLAGS        = -O2 -w -fpic -Mlarge_arrays
13
Note: See TracBrowser for help on using the repository browser.