blt
blt copied to clipboard
Create Fortran smoke test for OpenMP + Cuda
Based on user request. Could be exercised by enabling Fortran in our blueos_ray host-config.
Related issues: #251, #163
This may already work if you add the following lines to the host-config:
set(ENABLE_FORTRAN ON CACHE BOOL "")
set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc/gcc-4.9.3/bin/gfortran" CACHE PATH "") set(MPI_Fortran_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-gcc-4.9.3/bin/mpigfortran" CACHE PATH "")
and also add a smoke test obviously...
Thanks @white238 -
I was able to build and test blt
on blueos with clang+ gfortran using the llnl-ray host-config with your suggested additions.
More details that I accidentally omitted: The request was specifically for clang + xlf
Is anyone interested in developing the Fortran smoke test for openmp and cuda? (@ltaylor16? @aaroncblack? others?)
The C++
ones can be found here: https://github.com/LLNL/blt/tree/master/tests/smoke
I had a second user request for this set of smoke tests.
@kennyweiss - I can look at your C++ one and write an equivalent FORTRAN one.
Thanks @aaroncblack!