Solved Installing PLUTO astrophysical simulation code in Linux

Solved issue

raman kumar

Member
Joined
Aug 3, 2020
Messages
264
Reaction score
17
Credits
2,592
I want to install PLUTO astrophysical simulation code in my Manjaro Linux. Please help me how to do install it. I am using Zsh shell.
 


@raman kumar
The link linked to a page with this notice:

Warning: Potential Security Risk Ahead​


LibreWolf detected a potential security threat and did not continue to plutocode.ph.unito.it. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details.





What can you do about it?


The issue is most likely with the website, and there is nothing you can do to resolve it.
 
The link linked to a page with this notice:
It must be temporary SSL issue, it works fine here now.

The source code is available at bitbucket:

You'll need git to clone it:
Bash:
git clone https://bitbucket.org/mankush/pluto-4.4-self-gravity-patch.git

Then cd into downloaded directory and build it by running setup.py:
Bash:
cd ./pluto*

Actual build instructions are in the readme file:
 
No, I need to install it completely and not only self gravity patch. I have downloaded PLUTO in "/home/raman/pluto-4.4-patch2/PLUTO" . You need to click on Downloads icon and then fill some information and click submit button.
@CaffeineAddict
 
Last edited:
System requirements

Depending on the desired configuration (serial/parallel, static/AMR) different system requisites must be satisfied in order to compile and run PLUTO. These consist of a minimal set plus additional libraries:

  • Minimal prerequisites: C Compiler, GNU make, Python
  • Parallel builds: MPI library
  • AMR: Chombo library, C++ compiler, Fortran compiler, HDF5 library

This appears to be c/c++ source code.

You will have to compile it and install it. You will need to install all of the gnu/gcc or Clang/LLVM development tools.
( make, awk, sed, autoconf, automake, bison, gfortran, mp4, gcc. g++, flex, python3-devel, ) etc...

I haven't used Manjaro in quite a long time, but usually a distro has a suite to install dev tools something like..

sudo apt install build-essentials or dnf install "C Development Tools and Libraries".

Doing this is fairly advanced stuff.
After you get the code downloaded, you usually do a configure.. ( i.e. ./configure dir=/usr/local )
then you usually run make. Then usually you run make install.

Then installation instructions appear to be here.

 
Last edited:
The 'Read Me' file should give you all the details you need for the compilation.


Pluto is in the Arch User Repository under the name plutolang.

This package includes the pluto and plutoc executables, shared library, as well as headers for developers (#include <pluto/...>).

 
Pluto is in the Arch User Repository under the name plutolang.

Is this the astrophysics pluto ? Or the lua CLI pluto ?

1718817922239.png
 
Last edited:

Members online


Latest posts

Top