Skip to content

Commit

Permalink
add package info
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Feb 20, 2024
1 parent 2b4bb1c commit 6c2c01e
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions README.install
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ A simple test to create and plot a 1911 Plummer sphere is the following:
snapplot p10.dat
tsf p10.dat



Failing pgplot
--------------

Expand All @@ -33,8 +35,8 @@ you can find out with the command

mknemo tabplot

what is wrong/missing. Sometimes it's the X libraries, sometimes the PNG library, or something with PGPLOT alltogther.
We keep a version of pgplot for manual compilation, which might work well on a mac. Here's a sample
what is wrong/missing. Sometimes it's the X libraries, sometimes the PNG library, or something with PGPLOT alltogether.
We keep a version of pgplot for manual compilation, which might work well on a mac. Here's an example
to try in that case:

mknemo pgplot
Expand All @@ -47,7 +49,7 @@ to try in that case:
mknemo tabplot
tabgen - | tabplot - point=2,0.5

If this still fails, and you just want a non-graphical NEMO to work, use the PS driver:
If this still fails, and you just want a non-graphical NEMO to work, use the PS driver instead:

./configure --with-yapp=ps
source nemo_start.sh
Expand All @@ -56,18 +58,17 @@ If this still fails, and you just want a non-graphical NEMO to work, use the PS
tabgen - | tabplot - point=2,0.5
open yapp.ps

there should be a file "yapp.ps" which you might be able to open or xdg-open
there should be a file "yapp.ps" which you might be able to open or xdg-open.


Preconditions for Installation
==============================

To build the basics of NEMO you need compilers (C/C++/Fortran). C is essential,
C++ and Fortran highly recommended. You will also need the usual build tools
(make, csh, cmake)

C essential
C++ highly recommended (pretty much essential)
C++ highly recommended (essential for gyrfalcON)
Fortran highly recommended
tcsh essential (some scripts are still in csh)
make essential
Expand All @@ -80,22 +81,34 @@ netcdf recommended for some tools
python3 recommended (a builtin anaconda3 is one option)
boost recommended (for uns_projects)
swig recommended (for unsio)
x11, cairo needed depending on the selected yapp graphics driver
x11, cairo essential, but depending on the selected yapp graphics driver


For debian and redhat based systems, one of these may help to install packages:

make install_apt
or
make install_dnf

based on a package requirements style file in $NEMO/src/scripts/requirements.




Depending on your packaging tools (apt, yum, dnf, brew, port, ....) these are hidden under
various package names

dpkg -L pgplot5
dpkg -S /usr/include/cpgplot.h
dpkg -l
dpkg -L pgplot5
dpkg -S /usr/include/cpgplot.h
dpkg -l

rpm -ql pgplot
rpm -qf /usr/lib64/libpgplot.so.5.2.2
rpm -qa
rpm -ql pgplot
rpm -qf /usr/lib64/libpgplot.so.5.2.2
rpm -qa

or your system manager has hidden them in a module

module avail
module avail

See examples of package names in $NEMO/src/scripts/linux and $NEMO/src/scripts/brew (for Mac too)

Expand All @@ -114,7 +127,6 @@ See examples of package names in $NEMO/src/scripts/linux and $NEMO/src/scripts/b
-hdf5-tools



DOWNLOAD and INSTALLATION: two examples
=======================================

Expand Down

0 comments on commit 6c2c01e

Please sign in to comment.