geoffxy / conductor

🎶 A simple and elegant research computing orchestrator.
GNU Affero General Public License v3.0
4 stars 0 forks source link

Launching cmake from run_command() does not seem to work #12

Closed geoffxy closed 3 years ago

geoffxy commented 3 years ago

Running cmake from run_command() seems to result in an error:

CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in

CMake Error: Error executing cmake::LoadCache(). Aborting.

Maybe this is due to PATH problems or some other environment misconfiguration.

geoffxy commented 3 years ago

We currently don't forward any shell environment variables. As mentioned above, this may be related to the issue above. In any case, this causes problems with finding executables on the user's PATH.

geoffxy commented 3 years ago

Fixed in commit 3fce7e0e09fa212b354183b939c8b63929121161. The problem, as suspected, was due to not passing on the environment variables.