Skip to content

Commit cfb2536

Browse files
authored
sync build info output with job_info (AMReX-Astro#3204)
in particular, the make flags and CUDA version
1 parent fbbf6b8 commit cfb2536

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Source/driver/Castro_io.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,11 +864,20 @@ Castro::writeBuildInfo ()
864864

865865
std::cout << "\n";
866866

867+
std::cout << "make flags: " << buildInfoGetMakeFlags() << "\n";
868+
869+
std::cout << "\n";
870+
867871
std::cout << "COMP: " << buildInfoGetComp() << "\n";
868872
std::cout << "COMP version: " << buildInfoGetCompVersion() << "\n";
869873

870874
std::cout << "\n";
871875

876+
#ifdef AMREX_USE_CUDA
877+
std::cout << "CUDA version: " << buildInfoGetCUDAVersion() << "\n";
878+
std::cout << "\n";
879+
#endif
880+
872881
std::cout << "C++ compiler: " << buildInfoGetCXXName() << "\n";
873882
std::cout << "C++ flags: " << buildInfoGetCXXFlags() << "\n";
874883

0 commit comments

Comments
 (0)