From 3a973914d6afb527e17bd3d4e4584ffc52d52732 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 27 Aug 2024 14:55:42 -0400 Subject: [PATCH] Compile on frontier --- BLAS_benchmark/compile-command-frontier | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 BLAS_benchmark/compile-command-frontier diff --git a/BLAS_benchmark/compile-command-frontier b/BLAS_benchmark/compile-command-frontier new file mode 100644 index 00000000..d47c3d6e --- /dev/null +++ b/BLAS_benchmark/compile-command-frontier @@ -0,0 +1,5 @@ +CXX=hipcc +MPICXX=mpicxx +CXXFLAGS="-fPIC -I{$ROCM_PATH}/include/ -I${MPICH_DIR}/include -L/lib64 -I/opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/include" +LDFLAGS="-L/lib64 -L${MPICH_DIR}/lib -lmpi -L${CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa -lamdhip64 -lhipblas -lrocblas -lmpi_gnu_123" +hipcc $CXXFLAGS $LDFLAGS BatchBlasBench.cc -o BatchBlasBench \ No newline at end of file