install pnetcdf with openmpi with -fdefault-integer-8

Wei-keng Liao wkliao at eecs.northwestern.edu
Sun Sep 23 21:51:45 CDT 2018


Hi Zeinab

PnetCDF currently does not support MPI Fortran compilers built with -fdefault-integer-8.
It is a future work for PnetCDF.

Wei-keng

> On Sep 23, 2018, at 4:44 PM, Zeinab Salah <zeinabsalah at gmail.com> wrote:
> 
> Hi again,
> Sorry, I didn't say that, the version of openmpi is 3.0.2 and pnetcdf is 1.10.0. The installation was successfully completed but the include directory is not completed. The config.log files of openmpi and pnetcdf are attached.
> the commands of install pnetcdf:
> export FC=/usr/bin/gfortran
> export F90=/usr/bin/gfortran
> export F77=/usr/bin/gfortran
> export CC=/usr/bin/gcc
> export CXX=/usr/bin/g++
> export MPICC=/home/dream/CHIMERE/chimere_lib/openmpi/bin/mpicc
> export MPICXX=/home/dream/CHIMERE/chimere_lib/openmpi/bin/mpicxx
> export MPIF77=/home/dream/CHIMERE/chimere_lib/openmpi/bin/mpif77
> export MPIF90=/home/dream/CHIMERE/chimere_lib/openmpi/bin/mpif90
> export CFLAGS='-O -m64 -mcmodel=medium'
> export CXXFLAGS='-O -m64 -mcmodel=medium'
> export FFLAGS='-O -g -m64 -fno-second-underscore -mcmodel=medium'
> export FCLAGS='-O -g -m64 -fno-second-underscore -mcmodel=medium'
> export LDFLAGS='-O -g -m64 -fno-second-underscore -mcmodel=medium'
> ./configure --prefix=/home/dream/CHIMERE/chimere_lib/pnetcdf --disable-in-place-swap --enable-large-req --with-mpi=/home/dream/CHIMERE/chimere_lib/openmpi
> make
> make tests
> make check
> make ptest
> make ptests
> make install
> 
> Thank you in advance.
> Best regards,
> Zeinab
> 
> ‫في السبت، 22 سبتمبر 2018 في 12:03 م تمت كتابة ما يلي بواسطة ‪Zeinab Salah‬‏ <‪zeinabsalah at gmail.com‬‏>:‬
> Hello, 
> I want to install pnetcdf with openmpi with -fdefault-integer-8,  but I found the problem of offset, and it installed without error, some files in include directory are missing
> my machine is little endian, and operating system is Fedora, and I changed many versions of openmpi  and pnetcdf, and give me the same error.
> the commands used to install openmpi:
> export F77=gfortran
> export FC=gfortran
> export CC=gcc
> export CXX=g++
> export CFLAGS=-m64
> export CXXFLAGS=-m64
> export FFLAGS="-m64 -fdefault-integer-8"
> export FCFLAGS="-m64 -fdefault-integer-8"
> ./configure --prefix=$HOME/openmpi --with-mpi-f90-size=medium
> make all
> make install
> Thank you in advance,
> Best regards
> Zeinab
> 
> <config.log_pnetcdf><config.log_openmpi>



More information about the parallel-netcdf mailing list