blt icon indicating copy to clipboard operation
blt copied to clipboard

Create Fortran smoke test for OpenMP + Cuda

Open kennyweiss opened this issue 5 years ago • 6 comments

Based on user request. Could be exercised by enabling Fortran in our blueos_ray host-config.

Related issues: #251, #163

kennyweiss avatar Apr 17 '19 23:04 kennyweiss

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...

white238 avatar Apr 18 '19 01:04 white238

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

kennyweiss avatar Apr 18 '19 01:04 kennyweiss

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

kennyweiss avatar Apr 18 '19 02:04 kennyweiss

I had a second user request for this set of smoke tests.

kennyweiss avatar May 29 '19 03:05 kennyweiss

@kennyweiss - I can look at your C++ one and write an equivalent FORTRAN one.

aaroncblack avatar May 29 '19 23:05 aaroncblack

Thanks @aaroncblack!

kennyweiss avatar May 29 '19 23:05 kennyweiss