Closed aekiss closed 4 years ago
I'd rather make a PR that works for both Intel and gfortran. This will break the CI
gah, oops sorry @aidanheerdegen
No worries. I'll do another PR.
I am starting a long 0.1deg IAF experiment and was wanting a config in master that worked... I guess the CI can be sorted out in a branch?
Sure. Once you've checked out the code though, it shouldn't matter if the repo is changed.
Since only yatm
inquires about the directory you could probably do something like execute_command_line('mkdir -p '//
trim(self%config_dir)//'/RESTART',...)` checking the exit status and then proceed.
Otherwise, calling some C seems like the best option. See here (not the accepted answer).
https://stackoverflow.com/questions/9522933/test-whether-a-directory-exists-or-not
this fixes https://github.com/COSIMA/libaccessom2/issues/48