Comments (2)
Sorry, this is my fault. The boundary routine is being largely modified during implementation of MeshBlocks and MPI. This had been already fixed in my version but I have not committed it yet. I will commit as soon as possible once I confirm MPI is working correctly.
from athena.
After implementing the fix I suggested in my local copy, a new error shows up. This might be a sign of a separate bug, so I'll record it here.
python configure.py --prob shock_tube --coord cartesian -debug
make clean
make
cd bin
./athena -i ../inputs/hydro/athinput.sod
results in
### FATAL ERROR in function [ParameterInput::GetReal]
Parameter name 'problem_id' not found in block 'job'
Some debug results:
gdb athena
(gdb) b parameter_input.cpp:ParameterInput::GetString
(gdb) run -i ../inputs/hydro/athinput.sod
(gdb) c
(gdb) b InputBlock::GetPtrToLine
(gdb) c
(gdb) n
(gdb) p name.c_str()
$1 = 0x100204318 "problem_id"
(gdb) p name.length()
$2 = 10
(gdb) p pl->param_name.c_str()
$3 = 0x100200de8 "problem_id"
(gdb) p pl->param_name.length()
$4 = 4607182418800017408
It seems that when searching for a line with "problem_id" it finds the line, but the C++ std::string
is corrupted with a bad length. Note that std::string::compare()
will not return a match if this parameter is not the same, even if the underlying C character arrays are the same up to a terminating \0
.
from athena.
Related Issues (20)
- Add new maintainers; expand CODEOWNERS
- Fix convergence errors on AWS EC2 Graviton instances HOT 5
- Reduce cost of 4th order hydro EOS and flux calculations HOT 1
- Resurrect Princeton Jenkins server HOT 7
- Convert Travis CI jobs into GitHub Actions
- Fix unsafe SIMD in relativistic Riemann solvers HOT 2
- Is this pdata->pnext supposed to be pnew->pnext here?
- Merge GR radiation transport
- Remove unused DEBUG macro HOT 4
- Use a uniform convention for boundary condition input parameters HOT 4
- Errors of linear Alfven wave for RK3+PPM (xorder=3) are much smaller than those in Athena++ paper
- Leftovers from merge non-relativistic radiation transport: add more output switches, derive IMRadTaskList, etc. HOT 7
- Timestep is incorrect for some GR metrics HOT 4
- Leftover chemistry fixes HOT 2
- Inconsistency in documentation of user-defined source terms? HOT 5
- Remove extraneous DeleteAthenaArray() calls HOT 3
- Access ParameterInput instance from user boundary conditions HOT 2
- Array indexing errors in llf_mhd_rel_no_transform.cpp HOT 2
- Leftover cosmic ray transport and diffusion changes HOT 1
- MHD shearing box has artifacts with SMR HOT 3
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 athena.