mirror of
https://github.com/paboyle/Grid.git
synced 2026-07-30 15:33:29 +01:00
Compare commits
4
Commits
e2d607f6c7
...
f8b2eacf99
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8b2eacf99 | ||
|
|
6140ac6864 | ||
|
|
c6c2834e03 | ||
|
|
856545a1db |
@@ -279,7 +279,7 @@ public:
|
|||||||
(hipblasDoubleComplex **)&Cmn[0], ldc,
|
(hipblasDoubleComplex **)&Cmn[0], ldc,
|
||||||
batchCount);
|
batchCount);
|
||||||
#endif
|
#endif
|
||||||
// std::cout << " hipblas return code " <<(int)err<<std::endl;
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
@@ -541,6 +541,7 @@ public:
|
|||||||
batchCount);
|
batchCount);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
@@ -577,6 +578,7 @@ public:
|
|||||||
(void **)&Cmn[0], CUDA_C_32F, ldc,
|
(void **)&Cmn[0], CUDA_C_32F, ldc,
|
||||||
batchCount, compute_precision, CUBLAS_GEMM_DEFAULT);
|
batchCount, compute_precision, CUBLAS_GEMM_DEFAULT);
|
||||||
}
|
}
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==CUBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==CUBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_SYCL
|
#ifdef GRID_SYCL
|
||||||
@@ -747,6 +749,7 @@ public:
|
|||||||
(float *) &beta_p[0],
|
(float *) &beta_p[0],
|
||||||
(float **)&Cmn[0], ldc,
|
(float **)&Cmn[0], ldc,
|
||||||
batchCount);
|
batchCount);
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
@@ -907,6 +910,7 @@ public:
|
|||||||
(double *) &beta_p[0],
|
(double *) &beta_p[0],
|
||||||
(double **)&Cmn[0], ldc,
|
(double **)&Cmn[0], ldc,
|
||||||
batchCount);
|
batchCount);
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
@@ -1134,6 +1138,7 @@ public:
|
|||||||
(int*) &info[0],
|
(int*) &info[0],
|
||||||
(int)batchCount);
|
(int)batchCount);
|
||||||
#endif
|
#endif
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
@@ -1173,6 +1178,7 @@ public:
|
|||||||
(int)batchCount);
|
(int)batchCount);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
@@ -1261,6 +1267,7 @@ public:
|
|||||||
(int)batchCount);
|
(int)batchCount);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
@@ -1304,6 +1311,7 @@ public:
|
|||||||
(int*) &info[0],
|
(int*) &info[0],
|
||||||
(int)batchCount);
|
(int)batchCount);
|
||||||
#endif
|
#endif
|
||||||
|
// std::cout << " hipblas return code " <<(int)err<<" "<<__LINE__<<std::endl;
|
||||||
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
GRID_ASSERT(err==HIPBLAS_STATUS_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_CUDA
|
#ifdef GRID_CUDA
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ CCFILES=`find . -name '*.cc' -not -path '*/instantiation/*/*' -not -path '*/gamm
|
|||||||
|
|
||||||
ZWILS_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/ZWilsonImpl*' `
|
ZWILS_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/ZWilsonImpl*' `
|
||||||
WILS_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/WilsonImpl*' `
|
WILS_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/WilsonImpl*' `
|
||||||
STAG_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/Staggered*' `
|
STAG_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/StaggeredImpl*' `
|
||||||
GP_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/Gparity*' `
|
GP_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/Gparity*' `
|
||||||
ADJ_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/WilsonAdj*' `
|
ADJ_FERMION_FILES=` find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/WilsonAdj*' `
|
||||||
TWOIND_FERMION_FILES=`find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/WilsonTwoIndex*'`
|
TWOIND_FERMION_FILES=`find . -name '*.cc' -path '*/instantiation/*' -path '*/instantiation/WilsonTwoIndex*'`
|
||||||
|
|||||||
@@ -2,24 +2,15 @@
|
|||||||
echo spack
|
echo spack
|
||||||
. /autofs/nccs-svm1_home1/paboyle/Crusher/Grid/spack/share/spack/setup-env.sh
|
. /autofs/nccs-svm1_home1/paboyle/Crusher/Grid/spack/share/spack/setup-env.sh
|
||||||
|
|
||||||
module load cce/15.0.1
|
module load amd/7.0.2
|
||||||
module load rocm/5.3.0
|
|
||||||
module load cray-fftw
|
module load cray-fftw
|
||||||
module load craype-accel-amd-gfx90a
|
module load craype-accel-amd-gfx90a
|
||||||
|
mkdir $HOME/LD_PATH
|
||||||
|
ln -s /opt/rocm-6.4.2/lib/libamdhip* $HOME/LD_PATH
|
||||||
|
|
||||||
#Ugly hacks to get down level software working on current system
|
#Ugly hacks to get down level software working on current system
|
||||||
export LD_LIBRARY_PATH=/opt/cray/libfabric/1.20.1/lib64/:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=/opt/cray/libfabric/1.20.1/lib64/:$LD_LIBRARY_PATH
|
||||||
export LD_LIBRARY_PATH=/opt/gcc/mpfr/3.1.4/lib:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=/opt/gcc/mpfr/3.1.4/lib:$LD_LIBRARY_PATH
|
||||||
export LD_LIBRARY_PATH=`pwd`/:$LD_LIBRARY_PATH
|
#export LD_LIBRARY_PATH=`pwd`/:$LD_LIBRARY_PATH
|
||||||
ln -s /opt/rocm-6.0.0/lib/libamdhip64.so.6 .
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/LD_PATH/
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm-7.0.2/lib
|
||||||
#echo spack load c-lime
|
|
||||||
#spack load c-lime
|
|
||||||
#module load emacs
|
|
||||||
##module load PrgEnv-gnu
|
|
||||||
##module load cray-mpich
|
|
||||||
##module load cray-fftw
|
|
||||||
##module load craype-accel-amd-gfx90a
|
|
||||||
##export LD_LIBRARY_PATH=/opt/gcc/mpfr/3.1.4/lib:$LD_LIBRARY_PATH
|
|
||||||
#Hack for lib
|
|
||||||
##export LD_LIBRARY_PATH=`pwd`/:$LD_LIBRARY_PATH
|
|
||||||
|
|||||||
Reference in New Issue
Block a user