GEOS-DEV / GEOS

GEOS Simulation Framework
GNU Lesser General Public License v2.1
211 stars 85 forks source link

Lassen Build Failing #671

Closed bmhan12 closed 4 years ago

bmhan12 commented 4 years ago

Since PR commit #664, I have been unable to compile on Lassen. I get the following error message:

[ 49%] Building CUDA object coreComponents/physicsSolvers/CMakeFiles/physicsSolvers.dir/solidMechanics/SolidMechanicsLagrangianSSLE.cpp.o
/usr/gapps/GEOSX/thirdPartyLibs/11-11-19/install-lassen-clang@upstream-release/raja/include/RAJA/policy/cuda/forall.hpp(135): Error: Formal parameter space overflowed (4216 bytes required, max 4096 bytes allowed) in function _ZN4RAJA6policy4cuda4impl18forall_cuda_kernelILm256ENS_9Iterators16numeric_iteratorIllPlEEZN5geosx35SolidMechanicsLagrangianSSLEKernels14ExplicitKernel6LaunchILl8ELl8ENS8_12constitutive24LinearElasticAnisotropicEEEdPT1_RKN7LvArray15SortedArrayViewIKllEERKNSG_9ArrayViewISI_Li2ELi0ElNSG_10ChaiBufferEEERKNSM_IK9R1TensorTILi3EELi3ELi2ElSN_EERKNSM_IKdLi2ELi1ElSN_EERKNSM_IST_Li1ELi0ElSN_EES13_RKNSM_ISS_Li1ELi0ElSN_EERKNSM_I12R2SymTensorTILi3EELi2ELi1ElSN_EEdEUllE_lEEvSE_T0_T2_
/usr/gapps/GEOSX/thirdPartyLibs/11-11-19/install-lassen-clang@upstream-release/raja/include/RAJA/policy/cuda/forall.hpp(135): Error: Formal parameter space overflowed (4216 bytes required, max 4096 bytes allowed) in function _ZN4RAJA6policy4cuda4impl18forall_cuda_kernelILm256ENS_9Iterators16numeric_iteratorIllPlEEZN5geosx35SolidMechanicsLagrangianSSLEKernels14ExplicitKernel6LaunchILl4ELl1ENS8_12constitutive24LinearElasticAnisotropicEEEdPT1_RKN7LvArray15SortedArrayViewIKllEERKNSG_9ArrayViewISI_Li2ELi0ElNSG_10ChaiBufferEEERKNSM_IK9R1TensorTILi3EELi3ELi2ElSN_EERKNSM_IKdLi2ELi1ElSN_EERKNSM_IST_Li1ELi0ElSN_EES13_RKNSM_ISS_Li1ELi0ElSN_EERKNSM_I12R2SymTensorTILi3EELi2ELi1ElSN_EEdEUllE_lEEvSE_T0_T2_

make[2]: *** [coreComponents/physicsSolvers/CMakeFiles/physicsSolvers.dir/build.make:271: coreComponents/physicsSolvers/CMakeFiles/physicsSolvers.dir/solidMechanics/SolidMechanicsLagrangianSSLE.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6092: coreComponents/physicsSolvers/CMakeFiles/physicsSolvers.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
rrsettgast commented 4 years ago

The LinearElasticAnisotropic::KernelWrapper is the culprit. This will be resolved when we store the stiffness matrix as a proper 3d array....which means we have a way to set the data in this array using a FieldSpecification. Todo.