Hi everyone,
these days I am visiting Urbana University - before coming to the
conference in Chicago - trying to setup a cosmological simulation.
I wrote some code to input particle positions/velocities/masses and it wor
fine, mapping on the grid their density, and so on...
Adding a new routine to setup the gas properties on the mesh, I am using
particle density 'pden', as computed by 'MapParticlesToMesh'. I realized
that, after calling 'ParticleToMesh', temp_buff2 has the right value of
density, but solnVec doesn't change. I mean, copying temp_buff2 to
solnVec, doesn't work, and the 'pden' subarray comes out with the same
initial values.
This could be either a coding bug - some non standard Fortran procedure -,
or a compiler bug. I have no idea about what is going on.
The machine I am using is a 24 processors SUN with:
SunOS titania 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Fire
f95: Forte Developer 7 Fortran 95 7.0 Patch 111714-06 2003/04/10
The Makefile.h is attached.
The FLASH version is 2.3
Thanks,
Claudio.
***********************************************************************
Claudio Dalla Vecchia e-mail: claudio.dalla-vecchia@durham.ac.uk
Institute for Computational web: http://star-www.dur.ac.uk/~caius/
Cosmology, South Road tel: +44 (0)191 33 43787 linux user
Durham DH1 3LE - UK fax: +44 (0)191 33 43645 #275369
-----------------------------------------------------------------------
"Politicians hide themeselves away / They only started the war
Why should they go out to fight / They leave that all to the poor"
("War Pigs" - Black Sabbath)
***********************************************************************
This archive was generated by hypermail 2b30 : Mon Sep 01 2003 - 15:47:21 CDT