... | @@ -41,6 +41,10 @@ To use the Intel 18 compiler with the same modules we need to make sure it uses |
... | @@ -41,6 +41,10 @@ To use the Intel 18 compiler with the same modules we need to make sure it uses |
|
```
|
|
```
|
|
export LDFLAGS="-L${MPI_ROOT}/lib/ -L${C_INTEL_ROOT}/lib/intel64/"
|
|
export LDFLAGS="-L${MPI_ROOT}/lib/ -L${C_INTEL_ROOT}/lib/intel64/"
|
|
```
|
|
```
|
|
|
|
And to avoid problems with IPO when using OpenMPI:
|
|
|
|
```
|
|
|
|
export LIBS="-lopen-rte -lopen-pal"
|
|
|
|
```
|
|
|
|
|
|
### Configuration
|
|
### Configuration
|
|
|
|
|
... | @@ -48,6 +52,7 @@ Need to use \*_ROOT environment variables set by the modules to find various lib |
... | @@ -48,6 +52,7 @@ Need to use \*_ROOT environment variables set by the modules to find various lib |
|
|
|
|
|
```
|
|
```
|
|
./configure CC=icc CFLAGS=-qopt-zmm-usage=high \
|
|
./configure CC=icc CFLAGS=-qopt-zmm-usage=high \
|
|
|
|
--enable-ipo \
|
|
--with-hdf5 \
|
|
--with-hdf5 \
|
|
--with-fftw=${FFTW3_ROOT} \
|
|
--with-fftw=${FFTW3_ROOT} \
|
|
--with-parmetis=${PARMETIS_ROOT} \
|
|
--with-parmetis=${PARMETIS_ROOT} \
|
... | @@ -78,16 +83,6 @@ This should result in |
... | @@ -78,16 +83,6 @@ This should result in |
|
...
|
|
...
|
|
```
|
|
```
|
|
|
|
|
|
### Linker error with --enable-ipo
|
|
|
|
|
|
|
|
If you use --enable-ipo then the link step fails. It's possible to work around this by setting
|
|
|
|
```
|
|
|
|
export LIBS="-lopen-rte -lopen-pal"
|
|
|
|
export LDFLAGS="-L${MPI_ROOT}/lib/"
|
|
|
|
```
|
|
|
|
before configure. But I'm not sure if this will cause any problems.
|
|
|
|
|
|
|
|
|
|
|
|
## Running SWIFT
|
|
## Running SWIFT
|
|
|
|
|
|
### Batch script for Skylake partition
|
|
### Batch script for Skylake partition
|
... | | ... | |