-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unit test netCDF detection and NAG support. #25
Fix unit test netCDF detection and NAG support. #25
Conversation
This commit makes use of the FindNETCDF CMake module to detect the netCDF library for unit tests. It also fixes some files that prevented the tests from running with the NAG compiler. This commit BREAKS support for NAG on goldbach, but that machine is on its way out. When the successor machine comes online, a working NAG 6.0 port will be added. Testing: Test suite: Unit tested only. Baseline: N/A Namelist changes: None Status: bit for bit Code reviews: None yet.
c6f0e1f
to
53f3c26
Compare
Since pFUnit manages MPI itself, it's difficult to write the unit tests to work with both pFUnit built with MPI, and with serial pFUnit and mpi-serial. For now, we simply require use of a parallel pFUnit and an MPI compiler. Testing: Test suite: Unit tested only Baseline: N/A Namelist changes: None Status: bit for bit Code reviews: None yet.
53f3c26
to
d007e2e
Compare
Hi Sean, If we build all of the libraries consistently I don't think we should need On Tue, Jun 16, 2015 at 3:00 PM, Sean Patrick Santos <
Jim Edwards CESM Software Engineer |
Yep, that's the idea. |
Is this compatible with #28 ? |
I believe so. I rebased the one on top of the other, on the branch where I am working on hobart. |
Fixes to get the nightly tests to run through on Caldera with serial MPI
…OM_highres Feature blom highres
These were the changes that I needed to be able to get the unit tests to build and pass with NAG on my CGD desktop. Note two possible sources of breakage:
-kind=byte
flag. I don't think that this is a big problem because goldbach is being decommissioned this week. When we add a port to the successor machine, we'll have to make sure to link to the appropriate library, and everything should be well again. We should also bump to NAG 6.0. (I don't know if ISG even plans to keep NAG 5.3.1 around, but regardless, I don't think there's any real reason for us to support the older version given that this is our testing compiler.)$NETCDF
as a hint for the netCDF directory, which I think is pretty safe, and looking for libcurl if netCDF is using DAP, which may or may not be a problem.