diff options
-rw-r--r-- | INSTALL_parallel.ascired | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/INSTALL_parallel.ascired b/INSTALL_parallel.ascired index 7b28eff..e0deb5d 100644 --- a/INSTALL_parallel.ascired +++ b/INSTALL_parallel.ascired @@ -18,7 +18,7 @@ # (We use sh here, but of course you can adapt to whatever shell you like.) # compile for MPI jobs -CC=cicc +#CC=cicc # The following flags are only needed when compiling/linking a user program # for execution. @@ -36,10 +36,6 @@ mpio_lib="-L$ROMIO/lib/tflop" MPI_INC="$mpi1_inc $mpio_inc" MPI_LIB="$mpi1_lib $mpio_lib" -CFLAGS="$default_mode" - -export CC CFLAGS MPI_INC MPI_LIB - # Once these variables are set to the proper values for your installation, # you can run the configure program (i.e., ./configure tflop --enable-parallel=mpio) # to set up the Makefiles, etc. @@ -49,5 +45,7 @@ export CC CFLAGS MPI_INC MPI_LIB # cicc and link to the MPI-IO library and the parallel version of the HDF5 # library (that was created and installed with the configure/make process). -./configure tflop --enable-parallel=mpio - +CFLAGS="$default_mode" \ +CPPFLAGS=$MPI_INC \ +LDFLAGS=$MPI_LIB \ +./configure --enable-parallel tflop |