On Nov 30, 3:47 pm, James Quirk <
j...@galcit.caltech.edu> wrote:
> Babak,
>
>
>
> > However I do not manage to get plugin::amrita installed and the error
> > message is as follows:
>
> > **********************
> > failed to build Amrita
> > **********************
> > src3p::perl ok!
> > src3p::mpeg ok!
> > src3p::origami ok!
> > plugin::amrita failed!
> > plugin::amr_sol ok!
> > plugin::foo ok!
> > amrmake:
> > Consult Chapter 3 of Amrita's installation notes and try again.
> > [hbabak@faro SYSTEM]$ amrmake plugin::amrita
> > keeping record: $AMRITA/logs/target/serial/Linux/x86/O/plugin::amrita
> > ***********************
> > amrbuild plugin::amrita
> > ***********************************
> > I am not sure if "amrf77: error: AMRITA::system -- command failed!" is
> > the problem although amrf77 seems ok.
>
> To see why amrf77 is failing, try running:
>
> amrmake -verbose plugin::amrita
>
amrf77: pass #3 generate object files
*************************************
AMRITA::system { verbose mode
gfortran -O2 -w -fPIC -malign-double -I/usr/include \
-I/home/hbabak/AMRITA/AMRITAv3.03/include/f77 \
-I/home/hbabak/AMRITA/AMRITAv3.03/src -I/include/f77 -I. -I.. \
-I/home/hbabak/.amrita/include/f77 -I/include/ -Dserial_code -
DLinux_x86 -D_code \
-r -c f77src/chan.f
In file f77src/chan.f:25 IF(.TRUE.) CALL \
AMR_OPEN_FILE(%VAL(AMR04_GET_FILE()),CHANNEL, 1 Error: Syntax error
in argument \
list at (1)
}
amrf77: error: AMRITA::system -- command failed!
error near: end of line
> it will show you what system commands are being run along with their
> output. You can then post any errors here. It would also be helpful
> to know what Linux distribution you are using. You will also need
> to check that you system has gcc4.3, or higher, using:
>
> gcc -v
>
Well then I guess this can be the problem:
gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
> James
Babak