Comments (2)
The last message printed to the log has nothing to do with the error that caused the crash. Unfortunately there are some errors in XML files read to GCAM that cause the model to crash, but do not produce an explanatory message. For instance, if a subsector is created, but it doesn't have any technologies within it, I think that may cause a silent model crash. The way I've always debugged these is, on a Mac, running the model from Xcode, select Product -> Scheme -> Edit scheme -> Run -> Info-> check box for “debug executable”
Then when you run the model, and it crashes, that will launch a debugger that can be used to isolate what was happening when the crash occurred.
from gcam-core.
The last message printed to the log has nothing to do with the error that caused the crash. Unfortunately there are some errors in XML files read to GCAM that cause the model to crash, but do not produce an explanatory message. For instance, if a subsector is created, but it doesn't have any technologies within it, I think that may cause a silent model crash. The way I've always debugged these is, on a Mac, running the model from Xcode, select Product -> Scheme -> Edit scheme -> Run -> Info-> check box for “debug executable” Then when you run the model, and it crashes, that will launch a debugger that can be used to isolate what was happening when the crash occurred.
Thank you for your answer^_^ Although I used the Window System, I managed to use the Code Comments line by line in Configuration.xml and finally located the wrong xml. Now it runs smoothly~
from gcam-core.
Related Issues (20)
- How to segment other grains in the GCAM model? HOT 1
- Error for "Couldn't find bool: CalibrationActive"
- Error on Mac - DB Open Database reading "Java.lang.nullpointerexception" HOT 1
- GCAM prices and costs are the same HOT 1
- Error in batch_SSP_SPA23.xml - Missing negative_emissions_budget_SSP3.xml in GCAM v7.1 HOT 2
- Temperature and Radiative Forcing 2p6
- driver_drake() running failure
- GCAM 7.1 Mac OS release packages missing model interface configuration file
- net terrestrial C uptake in GCAM HOT 3
- Management of energy quantities
- Policy Cost HOT 1
- Error: Linked market CO2 could not be linked to GHG
- Trying to fix global coal limitation as primary energy HOT 2
- Error in solving a period using linux GCAM6.0 HOT 4
- Bug in the primary energy consumption by region (direct equivalent) query in GCAM-USA? HOT 5
- How Do Agricultural Production Processes Affect Carbon Emissions? HOT 3
- Issue with model output HOT 2
- A problem with the transportation data HOT 5
- MSW supply
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 gcam-core.