Skip to content

Installing on NERSC Cori

Joe Paki edited this page Jun 2, 2017 · 1 revision

How to install on the NERSC Cori computer, a Cray machine. After installing ALPSCore and NFFT3 as described here, do the following with the appropriated paths for your setup. (i.e. replace the paths with "ALPSCore_Joe")

$ git clone [email protected]:ALPSCore/CT-HYB-SEGMENT.git
$ cd CT-HYB-SEGMENT
$ (mkdir 000build && cd 000build)
$ export CC=$(which cc)
$ export CXX=$(which CC)
$ cmake .. -DALPSCore_DIR=$WORK_DIR/ALPSCore_Joe/install/share/ALPSCore -DCMAKE_INSTALL_PREFIX=$WORK_DIR/ALPSCore_Joe/install -DNFFT3_DIR=$WORK_DIR/ALPSCore_Joe/install/nfft3 -DBLA_VENDOR=DEFAULT
$ mv CMakeCache.txt CMakeCache.txt.old
$ sed -e 's/libfftw3\.so/libfftw3.a/g' <CMakeCache.txt.old >CMakeCache.txt
$ make -j4 
$ make install
Clone this wiki locally