problems with AMRITAv3.03

12 views
Skip to first unread message

matei

unread,
Oct 31, 2008, 1:11:26 PM10/31/08
to amrita-ebook
James,
I tried installing the new version, but all my scripts, including your
primer my.script fail with a NAN at the march line.

During the installation, everything seems to compile, but occasional
conspicuous messages of things not working properly. For example,
when I run system check, i get:

[matei@dexl SYSTEM]$ ./AMRITAsystem -check
*********************************
Testing: $AMRITA/SYSTEM/Linux/x86
*********************************
amrpp OK
AMRITA::system -- command failed!
error near: end of line
amrf77 OK
amrcxx OK
amrar OK
amrld OK
AMRITA::system -- command failed!
error near: end of line
amrdu OK
amrtouch OK
***********************
AMRITAsystem appears OK

When you installed it on my guest account, did you run into any
problems of this sort? The only difference I could see is that the
guest accound was set with tcsh and i'm currently working with bash.
I have edited the appropriate paths, so i am not sure what the problem
is.

James Quirk

unread,
Oct 31, 2008, 1:57:20 PM10/31/08
to matei, amrita-ebook
On Fri, 31 Oct 2008, matei wrote:

>
> James,
> I tried installing the new version, but all my scripts, including your
> primer my.script fail with a NAN at the march line.
>
> During the installation, everything seems to compile, but occasional
> conspicuous messages of things not working properly. For example,
> when I run system check, i get:
>
> [matei@dexl SYSTEM]$ ./AMRITAsystem -check

Try running:

/AMRITAsystem -verbose -check

James

matei

unread,
Oct 31, 2008, 2:16:14 PM10/31/08
to amrita-ebook
Funny thing, now there is no error message when running AMRITAsystem
check and i all i did is go to lunch and come back ?! cannot recall
if i had logged out, but certainly have not re-compiled!

nevertheless, the NAN persists with all scripts including my.script..

matei

James Quirk

unread,
Oct 31, 2008, 2:21:48 PM10/31/08
to matei, amrita-ebook
On Fri, 31 Oct 2008, matei wrote:

>
> Funny thing, now there is no error message when running AMRITAsystem
> check and i all i did is go to lunch and come back ?! cannot recall
> if i had logged out, but certainly have not re-compiled!
>
> nevertheless, the NAN persists with all scripts including my.script..
>
> matei
>

> > Try running:
> >
> > ./AMRITAsystem -verbose -check
> >
Please send me the output of the above.
You should also check that you are indeed accessing v3.0.
To do this you can run:

amrita -v

You might also care to run:

amrmake -force amrita

and check the resultant compilation for warnings.

James

> > James

matei

unread,
Oct 31, 2008, 2:25:24 PM10/31/08
to amrita-ebook
When i type: > amrmake amrita

the only sign of problem comes from:

amrita flightcheck
******************
CRITICAL : missing ``gcc-g77|gcc-fortran'' : you can't compile
plugin::{amrita,amr_sol}
NONCRITICAL: missing ``ghostscript-x11'' : you can't use
amrita::epsf2xxx
NONCRITICAL: missing ``ghostscript-fonts-std'' : you can't use
amrita::epsf2xxx
NONCRITICAL: missing ``gpg'' : you can't use amrpdf -
signas -verify
keeping record: $AMRITA/logs/target/serial/Linux/x86/O/src3p::perl
********************
amrbuild src3p::perl
********************
Sanity Checks
Filter::amrita OK!
Compress::Zlib OK!
Inline:: OK!
Inline::Python BROKEN!
Inline::Ruby OK!
amrperl OK!
********************************************************
installed src3p::perl in: $AMRITA/bin/serial/Linux/x86/O

James Quirk

unread,
Oct 31, 2008, 2:33:16 PM10/31/08
to matei, amrita-ebook
On Fri, 31 Oct 2008, matei wrote:

>
> When i type: > amrmake amrita
>
> the only sign of problem comes from:
>
> amrita flightcheck
> ******************
> CRITICAL : missing ``gcc-g77|gcc-fortran'' : you can't compile
> plugin::{amrita,amr_sol}
> NONCRITICAL: missing ``ghostscript-x11'' : you can't use
> amrita::epsf2xxx
> NONCRITICAL: missing ``ghostscript-fonts-std'' : you can't use
> amrita::epsf2xxx
> NONCRITICAL: missing ``gpg'' : you can't use amrpdf -
> signas -verify
> keeping record: $AMRITA/logs/target/serial/Linux/x86/O/src3p::perl

The above can be ignored. They arise because the the flightcheck
is looking for a set of RPM's for SuSE9.x and not the ones
you have installed.

> ********************
> amrbuild src3p::perl
> ********************
> Sanity Checks
> Filter::amrita OK!
> Compress::Zlib OK!
> Inline:: OK!
> Inline::Python BROKEN!

This probably indicates that you don't have the python development
rpm installed. But for the current problem, it is unimportant.
If the guest account is still active, I'll log in to see if
I can pinpoint the problem.

James

James Quirk

unread,
Oct 31, 2008, 3:38:46 PM10/31/08
to amrita-ebook, matei
Matei,

Edit the file:

$AMRITA/SYSTEM/Linux/x86/amrf77.types

and change the lines:

AMRLINT = INTEGER*4
SIZE_AMRLINT = 4

to:

AMRLINE = INTEGER*8
SIZE_AMRLINT = 8

then recompile using:

amrmake -force amrita

The type AMRLINT is used for the mesh connectivity
tables and was recently rejigged to allow for more
mesh patches. For some reason, the above change
which I hand edited on your machine did not find
its way back into my master copy. Hence the problem
you had with the new release. Note that the above
didn't affect the tests I ran at my end as
my machine uses Linux/x86_64 .

James


matei

unread,
Oct 31, 2008, 6:01:31 PM10/31/08
to amrita-ebook
You mean:

> Matei,
>
> Edit the file:
>
> $AMRITA/SYSTEM/Linux/x86/amrf77.types
>
> and change the lines:
>
> AMRLINT = INTEGER*4
> SIZE_AMRLINT = 4
>
> to:
>
> AMRLINE = INTEGER*8
AMRLINT=INTEGER*8
right?

matei

unread,
Oct 31, 2008, 6:11:30 PM10/31/08
to amrita-ebook
Now it seems to work, thanks.
matei

James Quirk

unread,
Oct 31, 2008, 6:14:16 PM10/31/08
to matei, amrita-ebook
> You mean:

>
> > AMRLINE = INTEGER*8
> AMRLINT=INTEGER*8
> right?
Yes.
Reply all
Reply to author
Forward
0 new messages