Skip to content

Binary examples typo #8

@teuben

Description

@teuben

it seems the README file in Binary refers to the wrong yml file

There is also an example where the stars no longer feel mutual self-gravity, but instead are evolved in an external logarithmic potential. This may be run using `mpirun -np 1 exp binary.yml`. This example demonstrates `noforce`.

this should be logpot.yml

I'm very partial to hardcoding paths in a yml file. This is perhaps a discussion for another time. But what we did in athena, is allow the executable to override config file parameters, for example something like

     exp -f logpot.yml    nsteps=10000 outdir=run1 ldlibdir=$NEMO/opt/lib/user

another nitpicking comment would be that the subdirectory user is often found in a system directory, so it ought to give more provenance in the name itself, e.g. EXP_user. With a prefix of /usr/local there would be a /usr/local/lib/user directory, which I think is asking for trouble.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions