Running the package on sample model data on iCloud #253
Unanswered
cmartinezvil
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm trying to learn how to use the package as a way to learn how to implement my POD. I'm following section 1.2.5 (and previous ones) of the MDTF Getting Started Document (https://mdtf-diagnostics.readthedocs.io/en/latest/_static/MDTF_getting_started.pdf). I installed the MDTF package on my iCloud (I don't have much space left in my computer) which has given me many issues trying to run this package. Basically I'm typing section 1.2.5
% cd <CODE_ROOT>
% ./mdtf -f src/default_tests.jsonc
and I get the errors shown at the bottom of the page. The errors seem to occur due to the way the iCloud path (Library/Mobile Documents/com
appleCloudDocs) is configured (it has a space between Mobile and Documents). I modified the paths in default_tests.jsonc but that doesn't seem to be the problem. The main issues apparently occurs in conda_init.sh and the fact that the framework cannot find conda (I did mofify the conda_root in default_tests.jsonc to my local installation /Users/cristianmartinez/anaconda3 to no avail). I'm pretty sure this should be easy to fix, but I'm not experienced enough in this kind of programming to find a solution. Any help would be much appreciated. The errors are given below."ERROR: run_shell_command on /Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/conda/conda_init.sh (pid 95574) exit status=127:/bin/bash: /Users/cristianmartinez/Library/Mobile: No such file or directory
ERROR: Can't find conda.
Traceback (most recent call last):
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/environment_manager.py", line 166, in initself.conda_dir, paths.get('conda_root','')
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/util/processes.py", line 193, in run_shell_commandreturncode=retcode, cmd=command, output=stderr)
src.util.exceptions.MDTFCalledProcessError: Command '/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/conda/conda_init.sh ' returned non-zero exit status 127.CRITICAL: **********************************************************************
Uncaught exception:
Traceback (most recent call last):
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/mdtf_framework.py", line 66, inexit_code = main()
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/mdtf_framework.py", line 62, in mainexit_code = framework.main()
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/core.py", line 273, in mainrun_mgr = self.RuntimeManager(case.pods, self.EnvironmentManager)
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/environment_manager.py", line 404, in initself.env_mgr = EnvMgrClass()
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/environment_manager.py", line 166, in initself.conda_dir, paths.get('conda_root','')
File "/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/util/processes.py", line 193, in run_shell_commandreturncode=retcode, cmd=command, output=stderr)
src.util.exceptions.MDTFCalledProcessError: Command '/Users/cristianmartinez/Library/Mobile Documents/com
appleCloudDocs/Research/mdtf/MDTF-diagnostics/src/conda/conda_init.sh ' returned non-zero exit status 127."Beta Was this translation helpful? Give feedback.
All reactions