Closed TaufeqRazakh closed 1 year ago
Currently testing with the following build recipe from RXMD project directory (root)
module use /soft/modulefiles/
module load spack
module load cmake
module load PrgEnv-gnu
module load frameworks/2023.05.15.001
rm -rfv build
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=icpx \
-DTorch_DIR=/soft/datascience/aurora_models_frameworks-2023.2/lib/python3.9/site-packages/torch/share/cmake/Torch/ \
-DIPEX_DIR=/soft/datascience/aurora_models_frameworks-2023.2/lib/python3.9/site-packages/intel_extension_for_pytorch/share/cmake/IPEX/ \
-DCMAKE_Fortran_COMPILER=mpif90 \
-DRXMD_ENABLE_TORCH=ON \
-DRXMD_ENABLE_IPEX=ON \
..
Use
-DTorch_ROOT=/soft/datascience/aurora_models_frameworks-2023.2/lib/python3.9/site-packages/torch
-DIPEX_ROOT=/soft/datascience/aurora_models_frameworks-2023.2/lib/python3.9/site-packages/intel_extension_for_pytorch
instead
Work in progress
TODO:
src
dirrxmdtorch