Re: Need help to start running Gadget

From: Yves Revaz <yves.revaz_at_epfl.ch>
Date: Tue, 17 Jun 2014 15:14:35 +0200

On 06/17/2014 02:40 PM, Yahya Alivov wrote:
> Dear Gadget users,
>
> **
> I have problem in getting Gadget-2 work, I would appreciate if you
> could help me. My problem is as follows. I am working in Ubuntu, I
> successfully installed GSL, FFTW, and MPICH, and created Gadget2
> executable. But when I run Gadget, I get message which is copy-pasted
> below, please see first message. This message says "cannot create
> regular file parameters-usedvalues"; but this not true, I do see file
> "parameters-usedvalues" in the folder, from which I run Gadget2.
> Second, this message says "You must set `PeriodicBoundariesOn=1";
> following this guide I change "0" to "1" in parameter file, but I get
> another error message, which I also copy-pasted below, please see
> second message. Do you have any suggestions? I would appreciate your
> help. Thank you much in advance!

Hi Yahya,

there must be a simple problem with the path setup in your parameter file.
Clearly, the directory

"home/alivov/Downloads/Gadget-2.0.7/galaxy/"

doesn't exists. This is maybe that a '/' is missing before 'home'.

Cheers,

yves


>
> Yahya.
> *
> *
> *_First message:_*
>
> This is Gadget, version `2.0'.
>
> Running on 2 processors.
> cp: cannot create regular file
> 'home/alivov/Downloads/Gadget-2.0.7/galaxy/parameters-usedvalues': No
> such file or directory
> Code was compiled with periodic boundary conditions switched on.
> You must set `PeriodicBoundariesOn=1', or recompile the code.
>
> ---------------------------------------------------------------------------------------------------------------------------------
> *_Second message:_*
>
> This is Gadget, version `2.0'.
>
> Running on 2 processors.
> cp: cannot create regular file
> 'home/alivov/Downloads/Gadget-2.0.7/galaxy/parameters-usedvalues': No
> such file or directory
>
> Allocated 25 MByte communication buffer per processor.
>
> Communication buffer has room for 504122 particles in gravity computation
> Communication buffer has room for 204800 particles in density computation
> Communication buffer has room for 163840 particles in hydro computation
> Communication buffer has room for 152408 particles in domain decomposition
>
>
> Hubble (internal units) = 0.1
> G (internal units) = 43007.1
> UnitMass_in_g = 1.989e+43
> UnitTime_in_s = 3.08568e+16
> UnitVelocity_in_cm_per_s = 100000
> UnitDensity_in_cgs = 6.76991e-22
> UnitEnergy_in_cgs = 1.989e+53
>
> error in opening file 'home/alivov/Downloads/Gadget-2.0.7/galaxy/cpu.txt'
> task 0: endrun called with an error level of 1
>
>
> application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
>
> ===================================================================================
> = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> = PID 23795 RUNNING AT yahya
> = EXIT CODE: 1
> = CLEANING UP REMAINING PROCESSES
> = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
> ===================================================================================
>
>
>


-- 
                                                
---------------------------------------------------------------------
   Dr. Yves Revaz
   Laboratory of Astrophysics
   Ecole Polytechnique Fédérale de Lausanne (EPFL)
   Observatoire de Sauverny     Tel : +41 22 379 24 28
   51. Ch. des Maillettes       Fax : +41 22 379 22 05
   1290 Sauverny             e-mail : Yves.Revaz_at_epfl.ch
   SWITZERLAND                  Web : http://people.epfl.ch/yves.revaz
---------------------------------------------------------------------
Received on 2014-06-17 15:14:40

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:32 CET