-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add discussion of sanity checks to getting started - Make build/bin more consistent in documentation - Add comment about python path - Make sure figures display in all browsers by making png versions
- Loading branch information
1 parent
47e0076
commit 0066727
Showing
8 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,16 +9,35 @@ At it's most basic, you can download and compile ``singularity-eos`` with: | |
git clone --recursive [email protected]:lanl/singularity-eos.git | ||
cd singularity-eos | ||
mkdir bin | ||
cd bin | ||
cmake -DSINGULARITY_FORCE_SUBMODULE_MODE=ON -DSINGULARITY_USE_FORTRAN=OFF .. | ||
mkdir -p build && cd build | ||
cmake -DSINGULARITY_FORCE_SUBMODULE_MODE=ON -DSINGULARITY_USE_FORTRAN=OFF -DSINGULARITY_BUILD_EXAMPLES=ON -DSINGULARITY_BUILD_TESTS=ON .. | ||
make -j | ||
make install # optional: install into directory defined via CMAKE_INSTALL_PREFIX | ||
This will download ``singularity-eos`` with no optional dependencies and | ||
compile the capabilities available in that form. For more details, see | ||
:ref:`our build page <building>`. | ||
|
||
You can also run unit tests by calling | ||
|
||
.. code-block:: | ||
make test | ||
which should produce output confirming that several tests pass. | ||
|
||
Once compiled, you can quickly check your build/install by going to | ||
``build/example`` and running ``./get_sound_speed_press``. You should be | ||
able to see the following output: | ||
|
||
.. code-block:: | ||
The final values are: | ||
rho = 0.987467 | ||
uu = 0.00987467 | ||
P = 0.0059248 | ||
cs = 0.0979796 | ||
If the library is in your include and lib paths (or you built it | ||
in-tree), you can include the ``eos`` part of the library with | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters