Skip to content
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

Error trying to build unit tests on hobart #1344

Closed
billsacks opened this issue Apr 13, 2017 · 0 comments
Closed

Error trying to build unit tests on hobart #1344

billsacks opened this issue Apr 13, 2017 · 0 comments
Assignees

Comments

@billsacks
Copy link
Member

Pointing to my branch from #1343 , I tried running this on hobart:

tools/unit_testing/run_tests.py --build-dir `mktemp -d --tmpdir=. unit_tests.XXXXXXXX`

and got this error message:

CMake Error at unit_tests.51Nwz7QH/__command_line_test__/__command_line_test__/Macros.cmake:189 (execute_process):
  Syntax error in cmake code at

    /home/sacks/cime/unit_tests.51Nwz7QH/__command_line_test__/__command_line_test__/Macros.cmake:189

  when parsing string

    ${NETCDF_PATH

  syntax error, unexpected $end, expecting } (13)
Call Stack (most recent call first):
  src/externals/CMake/CIME_utils.cmake:33 (include)
  CMakeLists.txt:12 (include)

This is pointing to this line in Macros.cmake:

execute_process(COMMAND ${NETCDF_PATH OUTPUT_VARIABLE CIME_TEMP_SHELL0 OUTPUT_STRIP_TRAILING_WHITESPACE)

which I see is missing an ending }

@jedwards4b jedwards4b self-assigned this Apr 18, 2017
@ghost ghost added the in progress label Apr 19, 2017
@ghost ghost removed the in progress label Apr 19, 2017
billsacks added a commit that referenced this issue Apr 19, 2017
simplify netcdf lib args on hobart

Using nf-config is overly complicated and in this case unnecessary, remove it.

Test suite: scripts_regression_tests + SMS.f19_g16.X for all supported compilers on hobart
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes #1344

User interface changes?:

Code review: Bill Sacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants