dashline
Member
Hello, everyone. I have a probelm when I install the latest pio from github based on the iolib_installation.sh file in https://www2.mmm.ucar.edu/people/duda/files/mpas/sources/ .
The code below is from iolib_installation.sh:
I download the ParallelIO-master.zip and decompress it. And then I modfiy these code into the code as follow:
Then I face:
[tianxj@ln1%tianhe pio_2]$ export CC=mpicc
[tianxj@ln1%tianhe pio_2]$ export FC=mpif90
[tianxj@ln1%tianhe pio_2]$ export PIOSRC=/vol6/home/tianxj/yhluo/intel-mpas/ParallelIO-master
[tianxj@ln1%tianhe pio_2]$ export NETCDF=/vol6/software/io_tools/netcdf/mpi/4.4
[tianxj@ln1%tianhe pio_2]$ export PNETCDF=/vol6/software/io_tools/pnetcdf/1.6.1
[tianxj@ln1%tianhe pio_2]$ export LIBBASE=/vol6/home/tianxj/yhluo/intel-mpas
[tianxj@ln1%tianhe pio_2]$ cmake -DNetCDF_C_PATH=$NETCDF -DNetCDF_Fortran_PATH=$NETCDF -DPnetCDF_PATH=$PNETCDF -DHDF5_PATH=$NETCDF -DCMAKE_INSTALL_PREFIX=$LIBBASE -DPIO_USE_MALLOC=ON -DCMAKE_VERBOSE_MAKEFILE=1 -DPIO_ENABLE_TIMING=OFF $PIOSRC
-- Could NOT find MPI_C (missing: MPI_C_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS)
CMake Error at /vol6/software/cmake-3.20.3/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MPI (missing: MPI_C_FOUND MPI_Fortran_FOUND)
Call Stack (most recent call first):
/vol6/software/cmake-3.20.3/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/vol6/software/cmake-3.20.3/share/cmake-3.20/Modules/FindMPI.cmake:1742 (find_package_handle_standard_args)
CMakeLists.txt:172 (find_package)
-- Configuring incomplete, errors occurred!
See also "/vol6/home/tianxj/yhluo/intel-mpas/pio_2/CMakeFiles/CMakeOutput.log".
See also "/vol6/home/tianxj/yhluo/intel-mpas/pio_2/CMakeFiles/CMakeError.log".
My module list is :
1) Intel_compiler/13.0 4) hdf5/1.8.11 7) git/1.9.5 10) wrf/4.1
2) mkl/13.0.0 5) netcdf/4.4 8) ncl/6.6.2 11) proxy/proxy
3) MPI/mpich/intel2013 6) pnetcdf/1.6.1 9) wps/4.1 12) cmake/3.20.3
The code below is from iolib_installation.sh:
Code:
########################################
# PIO
########################################
git clone https://github.com/NCAR/ParallelIO
cd ParallelIO
git checkout -b pio-2.4.4 pio2_4_4
export PIOSRC=`pwd`
cd ..
mkdir pio
cd pio
export CC=$MPI_CC
export FC=$MPI_FC
cmake -DNetCDF_C_PATH=$NETCDF -DNetCDF_Fortran_PATH=$NETCDF -DPnetCDF_PATH=$PNETCDF -DHDF5_PATH=$NETCDF -DCMAKE_INSTALL_PREFIX=$LIBBASE -DPIO_USE_MALLOC=ON -DCMAKE_VERBOSE_MAKEFILE=1 -DPIO_ENABLE_TIMING=OFF $PIOSRC
make
#make check
make install
cd ..
rm -rf pio ParallelIO
export PIO=$LIBBASE
Code:
export CC=mpicc
export FC=mpif90
export PIOSRC=/vol6/home/tianxj/yhluo/intel-mpas/ParallelIO-master
export NETCDF=/vol6/software/io_tools/netcdf/mpi/4.4
export PNETCDF=/vol6/software/io_tools/pnetcdf/1.6.1
export LIBBASE=/vol6/home/tianxj/yhluo/intel-mpas
cmake -DNetCDF_C_PATH=$NETCDF -DNetCDF_Fortran_PATH=$NETCDF -DPnetCDF_PATH=$PNETCDF -DHDF5_PATH=$NETCDF -DCMAKE_INSTALL_PREFIX=$LIBBASE -DPIO_USE_MALLOC=ON -DCMAKE_VERBOSE_MAKEFILE=1 -DPIO_ENABLE_TIMING=OFF $PIOSRC
[tianxj@ln1%tianhe pio_2]$ export CC=mpicc
[tianxj@ln1%tianhe pio_2]$ export FC=mpif90
[tianxj@ln1%tianhe pio_2]$ export PIOSRC=/vol6/home/tianxj/yhluo/intel-mpas/ParallelIO-master
[tianxj@ln1%tianhe pio_2]$ export NETCDF=/vol6/software/io_tools/netcdf/mpi/4.4
[tianxj@ln1%tianhe pio_2]$ export PNETCDF=/vol6/software/io_tools/pnetcdf/1.6.1
[tianxj@ln1%tianhe pio_2]$ export LIBBASE=/vol6/home/tianxj/yhluo/intel-mpas
[tianxj@ln1%tianhe pio_2]$ cmake -DNetCDF_C_PATH=$NETCDF -DNetCDF_Fortran_PATH=$NETCDF -DPnetCDF_PATH=$PNETCDF -DHDF5_PATH=$NETCDF -DCMAKE_INSTALL_PREFIX=$LIBBASE -DPIO_USE_MALLOC=ON -DCMAKE_VERBOSE_MAKEFILE=1 -DPIO_ENABLE_TIMING=OFF $PIOSRC
-- Could NOT find MPI_C (missing: MPI_C_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS)
CMake Error at /vol6/software/cmake-3.20.3/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MPI (missing: MPI_C_FOUND MPI_Fortran_FOUND)
Call Stack (most recent call first):
/vol6/software/cmake-3.20.3/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/vol6/software/cmake-3.20.3/share/cmake-3.20/Modules/FindMPI.cmake:1742 (find_package_handle_standard_args)
CMakeLists.txt:172 (find_package)
-- Configuring incomplete, errors occurred!
See also "/vol6/home/tianxj/yhluo/intel-mpas/pio_2/CMakeFiles/CMakeOutput.log".
See also "/vol6/home/tianxj/yhluo/intel-mpas/pio_2/CMakeFiles/CMakeError.log".
My module list is :
1) Intel_compiler/13.0 4) hdf5/1.8.11 7) git/1.9.5 10) wrf/4.1
2) mkl/13.0.0 5) netcdf/4.4 8) ncl/6.6.2 11) proxy/proxy
3) MPI/mpich/intel2013 6) pnetcdf/1.6.1 9) wps/4.1 12) cmake/3.20.3