-
Notifications
You must be signed in to change notification settings - Fork 5
Running 2D CH on Summit
rvinaybharadwaj edited this page Nov 4, 2021
·
17 revisions
module purge
module load gcc
module load cmake
module load boost
module load cuda
conda install numpy scipy matplotlib pyyaml setuptools cmake cffi typing pandas
Please read Software Requirement of README file (https://github.com/exalearn/online_rl_ch#software-requirement) to understand how to use ch and image_struct
- Python 3.7 with PyTorch
- You can get submodules of "CH simulation" and "image structure" by cloning this repository recursively
- Use
docker
branch forimage_structure
, anddocker-devel
branch forcahnhilliard_2d
2D simulation by Anthony M. DeGennaro
Image Structure by Anthony M. DeGennaro and Kevin G. Yager
- Anthony modified Kevin's image structure generator, and it outputs about 200 components for each image by default.
cd [/PATH/TO]/cahnhilliard_2d/cpp \
mkdir build/ \
cd build/
cc=gcc \
cxx=g++ \
cflags="-O3 -fopenmp" \
cxxflags="-std=gnu++11 -O3 -fopenmp" \
cmake -DCMAKE_C_FLAGS="${cflags}" \
-DCMAKE_CXX_FLAGS="${cxxflags}" \
-DCMAKE_CXX_COMPILER=${cxx} \
-DCMAKE_C_COMPILER=${cc} \
-DCMAKE_INSTALL_PREFIX=${PWD}/../install \
.. \
make