Closed map06 closed 2 years ago
Hi @map06, are you generating the run directory from within code.gcclassic/run
? If you are in the code.gcclassic/run
directory and type pwd -P
, what do you get? I wonder if the command is not working as expected on your system.
@lizziel I am in Code/run/GCClassic
. If I go to Code/run/GCClassic
and type pwd -P
, it points to Code/run/GCClassic
, but in program execution, it soft links home directory. Just to check if it's a problem in my system, I ran it in the cloud. But, there, too, the CodeDir folder points to home directory.
Aha, I think I know what the issue is. Your "Code" directory must be the github.com/geoschem/geos-chem repository, and you must have downloaded it to your home directory. Is that true?
Have you recently switched to GEOS-Chem 13? Starting in that version we added the wrapper repository gcclassic to use HEMCO and GEOS-Chem as git submodules, now maintained as separate source code repositories. After cloning the gcclassic repository you need to do git submodule update --init --recursive
to check out the submodules. See our GEOS-Chem 13 documentation for more information here.
After downloading the GEOS-Chem Classic wrapper repository and checking out the submodules you can then cd
into the top-level directory called run
. This is actually a symbolic link to src/GEOS-Chem/run/GCClassic
. You can then execute the createRunDir
. The various cd ../..
within the createRunDir
script will now work since they will navigate upwards into the GEOS-Chem wrapper repository which is two levels up from the GEOS-Chem repository.
@lizziel Thank you. Yes, I switched to 13. I was trying to directly use the Geos-Chem model without checking out the submodules. Using git submodule update --init --recursive
solved my issues.
Great, glad it is fixed!
Description of the problem
When I created run directory using the
./createRundir.sh
, the Codedir folder generated always points to the home directoryDescription of troubleshooting performed
I commented out
#cd ../../
fromcreateRundir
so that it points to the correct fileGEOS-Chem version
13.4.0
Description of modifications
Describe your modifications here.
Log files
Build log (if applicable):
Run logs (if applicable): CMakeOutput.log
Run script (if applicable):
Software versions
CMake version: 3.10.2
Compilers (Intel or GNU, and version):7.5.0
NetCDF version: