I am trying to build the pnetcdf 1.9.0 with shared enable by impi-2018:
source /users/home/opt/intel/parallel_studio_xe_2018.3.051/bin/psxevars.sh intel64
MPIF77=mpiifort MPIF90=mpiifort MPICC=mpiicc MPICXX=mpiicpc ./configure --prefix=/users/home/opt-intel_2018/parallel-netcdf/parallel-netcdf-1.9.0 --enable-shared
but I receive these errors:
make[3]: Entering directory `/users/home/SOFTWARE/netcdf/2018/parallel-netcdf-1.9.0/src/utils/ncmpigen'
CC main.o
CC load.o
CC escapes.o
CC getfill.o
CC init.o
CC genlib.o
CC ncmpigentab.o
CCLD ncmpigen
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_cpystr'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_allocate'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_dealloc_allocatable'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_cpstr'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_alloc_allocatable'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_len_trim'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_array_copy_in'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_trim'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_contig_array'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_check_mult_overflow64'
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_array_copy_out'
What i'an doing wrong?
Thanks