Re: Error 778: failed with adding gas particles

From: Yves Revaz <yves.revaz_at_epfl.ch>
Date: Mon, 03 Mar 2014 09:57:40 +0100

Dear Michaela,

This is a typical io error (see io.c).
This probably means that your initial condition file is not set-up
correctly.
One possibility could be that either the density or the specific energy of
gas particles is missing in your file.

Cheers,

yves



On 02/28/2014 01:25 PM, Michaela Voth wrote:
> Hi all,
> I'm trying to simulate a Cluster with dark matter and gas particles. I
> have previously run it with dark matter only and that works fine, but now
> i added the gas and i could not make it run. I got an end-of-file error
> after the InternalEnergy-Block, although the particle numbers seem to be
> right ? Any idea where my IC file may is corrupt? What did I do wrong?
>
> The error occurs in the following way:
>
> reading file `..cluster.dat' on task=0 (contains 110008 particles.)
> distributing this file to tasks 0-0
> Type 0 (gas): 10000 (tot= 0000010000) masstab=0.12
> Type 1 (halo): 100008 (tot= 0000100008) masstab=0.85
> Type 2 (disk): 0 (tot= 0000000000) masstab=0
> Type 3 (bulge): 0 (tot= 0000000000) masstab=0
> Type 4 (stars): 0 (tot= 0000000000) masstab=0
> Type 5 (bndry): 0 (tot= 0000000000) masstab=0
>
> task=0 blocknr=0 bytes_per_blockelement=12 npart=110008
> task=0 blocknr=1 bytes_per_blockelement=12 npart=110008
> task=0 blocknr=2 bytes_per_blockelement=4 npart=110008
> task=0 blocknr=3 bytes_per_blockelement=4 npart=0
> task=0 blocknr=4 bytes_per_blockelement=4 npart=10000
> I/O error (fread) on task=0 has occured: end of file
> task 0: endrun called with an error level of 778
>
> Thanks for any help!
> Michaela
>
>
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list


-- 
---------------------------------------------------------------------
   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-03-03 10:23:29

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