If you can post your CMakeLists.txt
, we can take a look - does CRY provide a cmake configuration file (e.g. CRYConfig.cmake
) or a FindCRY.cmake
module that can be used with CMake’s find_package
?
Just to note further that if you are using the G4mpi
code, then this is only going to work with quite old versions of MPI (see Error while instal G4mpi library). If you’re adding your own MPI calls, then that’s fine.