... | ... | @@ -25,7 +25,7 @@ export MPICH_MAX_THREAD_SAFETY=multiple |
|
|
module unload PrgEnv-cray
|
|
|
module load PrgEnv-gnu
|
|
|
module load cudatoolkit
|
|
|
module load cray-hdf5
|
|
|
module load cray-hdf5/1.8.16
|
|
|
export CC=cc
|
|
|
|
|
|
./configure --disable-vec --enable-mpi=no --disable-mpi --with-cuda=/opt/nvidia/cudatoolkit8.0/8.0.54_2.2.8_ga620558-2.1
|
... | ... | @@ -34,8 +34,8 @@ Note that you *do* need the MPI-disabling stuff otherwise the HDF5 library appea |
|
|
|
|
|
Edit the Makefile in src/CUDA to set CCFLAGS and **update** CUDA_CFLAGS (*this is already set later in the file*)
|
|
|
```
|
|
|
CCFLAGS=-I/opt/cray/pe/hdf5/1.10.0/GNU/5.1/include
|
|
|
CUDA_CFLAGS = -I/opt/nvidia/cudatoolkit8.0/8.0.54_2.2.8_ga620558-2.1/include -I/opt/cray/pe/hdf5/1.10.0/GNU/5.1/include
|
|
|
CCFLAGS=-I/opt/cray/pe/hdf5/1.8.16/GNU/5.1/include
|
|
|
CUDA_CFLAGS = -I/opt/nvidia/cudatoolkit8.0/8.0.54_2.2.8_ga620558-2.1/include -I/opt/cray/pe/hdf5/1.8.16/GNU/5.1/include
|
|
|
```
|
|
|
If you are having problems compiling you should remove all references to mpi (i.e. lib_mpi_*) in ```src/CUDA/Makefile.am```. Also, you should attempt to use ```hdf5/1.8.16``` as ```1.10.x``` has some issues.
|
|
|
|
... | ... | |