installing amuse

13 views
Skip to first unread message

Peter

unread,
Apr 26, 2010, 8:17:15 AM4/26/10
to amuse2010

As most of you must have seen, amusecode.org is where you go to grab a
copy of AMUSE, either the latest 2.2 tar ball or an SVN release. I
decided to follow the 'fedora 11 instructions, as that is what I am
using at the moment, with an official 2.2 tar bal.

Two initial small surprises for me:

- python-nose from F11 is not recent enough, and had to grab a tarball
from the real source
http://python-nose.googlecode.com/files/nose-0.11.3.tar.gz

- I choose MPICH2, but either way, you still need to add this to your
shell:

source /etc/profile.d/mpich2.csh

after this 'configure; make' work, but there may be several items
missing (and it will tell you so) if
e.g. you have not pre-installed starlab

No doubt there are more things to come, e.g. I have no PGLIBS defined
(pgplot?) and I was confused to
see mpif90 being used with a -DNOMPI flag. But at least the
installation program finished normally this
time even though it warned about a number of things not installed.

peter


--
Subscription settings: http://groups.google.com/group/amuse2010/subscribe?hl=en

arjen van e

unread,
Apr 26, 2010, 8:45:50 AM4/26/10
to amus...@googlegroups.com
Peter,

Good catch!, see my comments bellow

On Mon, Apr 26, 2010 at 2:17 PM, Peter <teu...@gmail.com> wrote:

Two initial small surprises for me:

- python-nose from F11 is not recent enough, and had to grab a tarball
from the real source
  http://python-nose.googlecode.com/files/nose-0.11.3.tar.gz

Will update the instructions (apparently I tested with fedora 12)

You can also do (in the last step):

easy_install nosetests

 

- I choose MPICH2, but either way, you still need to add this to your
shell:

                            source /etc/profile.d/mpich2.csh


I'll add that too (strange I did not have to do anything like that on fedora 12 but I am using
bash)
 
after this 'configure; make' work, but there may be several items
missing (and it will tell you so) if
e.g. you have not pre-installed starlab


smallN will only work when starlab is installed (you can do a make smallN.code to see the instructions)
octgrav needs a working NVIDIA CUDA installation (it uses the GPU)

the sourcecodes for "seba" and "mesa" are not part of the AMUSE distribution (see make seba.code and make mesa.code for instructions)


No doubt there are more things to come, e.g. I have no PGLIBS defined
(pgplot?)

No this was an effort to get phigrape to use the phantom grape code (which failed as phantom grape only
implements grape5 and not grape6 needed by phigrape)
 
and I was confused to
see mpif90 being used with a -DNOMPI flag.

Yes, we use mpi for talking to the codes, but we still build most codes for sequential operation! (so with the -DNOMPI flag set!)

 
Arjen

Peter Teuben

unread,
Apr 26, 2010, 11:09:23 AM4/26/10
to amus...@googlegroups.com
thanks Arjen, and for the clarifications.

I think another slight "typo" in the Fedora-11 instructions is the name for the fftw packages.
The default is now fftw version 3, so you don't need fftw3, fftw3-devel, but just fftw, fftw-devel.
You need to append a '2' if you want the old ones....
btw, that brings up an MPI issue, it was my understanding that only fftw2 could handle MPI, but not fftw3.

On the issue of -DNOMPI, is there a way not not need mpi at all? or do we still need to compile and link
with mpi, even if we run serially?  I realize with modern multi-core CPU's it's probably useful to have, even
on single computers. But not needing to install MPI and related tools might save a big hassle on some
computers for a quick install.

peter

Kanak Saha

unread,
Apr 26, 2010, 11:41:05 AM4/26/10
to amus...@googlegroups.com
Hi Peter,

I Think I have installed AMUSE 2.2 in my laptop with MPICH2 and nose-0.11.1.
So far didn't find any complain...

Do I need to install starlab for working with AMUSE?

Kanak

Peter Teuben

unread,
Apr 26, 2010, 12:02:04 PM4/26/10
to amus...@googlegroups.com
On 04/26/2010 11:41 AM, Kanak Saha wrote:
> Hi Peter,
>
> I Think I have installed AMUSE 2.2 in my laptop with MPICH2 and nose-0.11.1.
> So far didn't find any complain...
>
> Do I need to install starlab for working with AMUSE?
>

it's an option, not needed. It will at least compile a program called
smallN.
There's a few other programs that get compiled as well if you have certain
libraries on your computer and have certain flags set. See Arjen's earlier
message on this.!
Reply all
Reply to author
Forward
0 new messages