Re: Running GADGET 2 on Vista

From: Sander Valcke <Sander.Valcke_at_UGent.be>
Date: Tue, 11 Aug 2009 16:52:33 +0200

You need parallel headers and libraries. Some googling shows that Lam
mpi might your best guess (second best actually, after putting Linux on
your pc ; ) ).

http://www.lam-mpi.org/faq/category12.php3

Sander

Dimitry Ayzenberg wrote:
> Okay so I added fftw and gsl but I still get errors. The first error I get
> is that mpicc is an unknown command. So I went into the makefile and
> changed the C compiler listed to gcc since that is what cygwin has. After
> that the mpicc error goes away but I get other ones that are confusing to
> me. This is what the output is when I do the make command:
>
> gcc -03 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT -DWALLCLOCK
> DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5 -I/usr/commmon/pdsoft/include
> -o main.o main.c
> main.c:5:17: mpi.h: No such file or directory
> In file included from main.c:8:
> proto.h:10:18: hdf5.h: No such file or directory
> In file included from main.c:8:
> proto.h:193: error: parse error before "handle"
> main.c: In function 'main':
> main.c:26: warning: implicit declaration of function 'MPI_Init'
> main.c:27: warning: implicit declaration of function 'MPI_Comm_rank'
> main.c:27: error: 'MPI_COMM_WORLD' undeclared (first use in this function)
> main.c:27: error: (Each undeclared identifier is reported only once
> main.c:27: error: for each function it appears in.)
> main.c:28: warning: implicit declaration of function 'MPI_Comm_size'
> main.c:73: warning: implicit declaration of function 'MPI_Finalize'
> make: *** [main.o] Error 1
>
> And I don't really understand what does errors actually mean or how I can
> fix them. I'm used to c++ and java programming, where the errors are more
> straightforward. Thanks for the help.
>
>
> On Tue, August 11, 2009 06:11, Arman Khalatyan wrote:
>
>
>
>>> coming up with errors that I don't understand. Are there specific
>>> libraries I need to add to cygwin or is there a certain way I would
>>> need
>>>
>> More detail would help.
>> What kind of errors?
>> You should install fftw(if you need cosmological runs) and gls on cygwin.
>> a.
>>
>> ------------------------------------------
>> Dr Arman Khalatyan,
>> Observatoire Astronomique de Marseille-Provence
>> Laboratoire d'Astrophysique de Marseille
>> -----------------------------------------
>>
>>
>>
>
>
>

-- 
--------------------------------------------------
| Sander Valcke                                  |
| Sterrenkundig Observatorium, Universiteit Gent |
| Krijgslaan 281 S9, B-9000 Gent, Belgium        |
| phone +32-9-264-4796  |  fax +32-9-264-4989    |
| https://sourceforge.net/projects/hyplot/       |
--------------------------------------------------
FORTUNE'S FUN FACTS TO KNOW AND TELL:		#1
	A guinea pig is not from Guinea but a rodent from South America.
	A firefly is not a fly, but a beetle.
	A giant panda bear is really a member of the racoon family.
	A black panther is really a leopard that has a solid black coat
	    rather then a spotted one.
	Peanuts are not really nuts.  The majority of nuts grow on trees
		while peauts grow underground.  They are classified as a
		legume -- part of the pea family.
	A cucumber is not a vegetable but a fruit.
--------------------------------------------------
Received on 2009-08-11 17:06:42

This archive was generated by hypermail 2.3.0 : 2022-09-01 14:03:42 CEST