Comments (11)
Hi @beiduqiu, the steps you are taking will compile the entire model. If there was a problem compiling and it exited early then your rerun will not include the changes.
Does the timestamp of the gchp
executable in your run directory change to reflect the time of new install? If not, then there was likely a problem building. If the build fails but make install
is still executed then it will copy the old executable from the build/bin
folder. Rerunning would then work, but without your changes.
You can output the build to log and include that in this issue if you would like me to look. When you recompile you can do this command to send the output log, including stderr: make -j 2>&1 | tee build.log
.
from gchp.
This is the time stamp of gchp. It shows I have already successfully build GCHP.
And this is the modification I did to the program.
I think the change should make the entire program not work at all but it still running correctly. Is there anything in the make file that may have impact on the error?
from gchp.
When you build the model there should be output to the screen. Please send it to log using the following command: make -j 2>&1 | tee build.txt
. Then drag the file to the GitHub message to post it.
from gchp.
build.log
This is the build log. And the modification I made is line 2232 of MAPL_Generic.F90. This line output some information in the output log but the modification I added never shows up. Hope you can help me with that.
from gchp.
Thanks for sharing the file. This line indicates that MAPL_Generic.F90
was compiled again during the rebuild since changes were detected.
[ 70%] Building Fortran object src/MAPL/generic/CMakeFiles/MAPL.generic.dir/MAPL_Generic.F90.o
[ 70%] Linking Fortran static library ../../../lib/libMAPL.generic.a
[ 72%] Built target MAPL.generic
After you do make install
, check that your executable timestamp gets updated to the time at which you did make install. You can also diff the executable in your run directory with the executable in your build folder (file build/bin/gchp
).
When you rerun you should get the new text at the end of the run log in the timing section. Have you already done this and not seen the new text?
from gchp.
I am sure the compilation is successful and the executable file is the new version. But the problem is the information I changed never show up. I tried to add multiple information in the program such as in the main program
But when I check the output file or changing this line to redirect the stdout to a file, I cannot see the information I want.
from gchp.
@beiduqiu, this is indeed strange. GEOS-Chem Support Team member @yidant is at WashU and perhaps can sit down with you to figure out what is going on. @yidant, would you be able to help with this?
from gchp.
I find that when I use bsub script to run the code, I cannot see the difference. But when I try to use
mpirun -np 6 gchp > check9.txt
to run the program, the change works but there are some error information
. Do you know what caused the problem? Thanks for you help.
from gchp.
@beiduqiu and @yidant, were you able to resolve this issue?
from gchp.
The problem is that there is a pre-built version of gchp in the image, and the script will always execute that executable gchp instead of recompiled. When I use an interactive server and use mpi run to execute gchp, the problem is solved. Thanks for all the help.
from gchp.
Ok, great. I will close out the issue.
from gchp.
Related Issues (20)
- Using gcchem_internal_checkpoint for grid-stretching simulation but fails with 'Factories not equal' error. HOT 17
- Wrong surface type field when using raw meteorology file HOT 7
- [SUBMODULE UPDATES] MAPL fix for restarting with stretched grid checkpoints HOT 1
- GCHP carbon simulations with CH4 take much longer than simulations without CH4 HOT 14
- Using a new inventory in ExtData.rc HOT 8
- GCHP 14.3.1 out of memory when writing checkpoint files HOT 12
- Error with CMIP6 file HOT 26
- ERROR during 'Initialize' stage of the gridded component 'EXTDATA' HOT 6
- Transport Budget Diagnostics at surface level for GCHP14.3.1 C180 simulation are all zero HOT 7
- error running carbon simulation HOT 16
- Segmentation fault - invalid memory reference in mapl_capmod_MOD_run_model HOT 2
- GCHP Carbon and CO2 simulations HOT 3
- MAPL submodule updates HOT 1
- GCHP Aerosol Mass Cannot Simulate own Emission Inventories HOT 18
- Transporting species initialized in a gridded component outside GeosChem HOT 3
- ERROR: cannot find export DryPLEPut a one-line description here HOT 5
- Use of bashdatacatalog to find invalid files HOT 4
- Requested sample not found in file HOT 5
- Retire simulation type "CO2 w/ CMS-Flux emissions" from GCHP run directory creation
- Carbon simulation - new restart files needed for GCHP HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gchp.