ESCOMP / CISM

Community Ice Sheet Model
GNU Lesser General Public License v3.0
6 stars 11 forks source link

A few updates to fix sourcing module files #67

Open Katetc opened 2 months ago

Katetc commented 2 months ago

The "source" command wasn't working in the ".sh" file due to a mismatch between "sh" and full "bash". Making the module file executable solves this problem in a simple method.

gunterl commented 2 months ago

at the command line, entering the command:

source derecho-intel-cmake

works just fine.

However the command:

source derecho-intel-cmake.sh

returns an error:

Doing CMake Configuration step CMake Warning: Ignoring extra path from command line:

"myuid"

CMake Error: The source directory "/glade/campaign/cesm/development/liwg/leguy/CISM/CISM_Kate/builds/derecho-intel/utils/libgptl" does not exist. Specify --help for usage, or press the help button on the CMake GUI.