plugin::amrita build fails

11 views
Skip to first unread message

Babak Hejazi

unread,
Nov 30, 2009, 9:36:41 AM11/30/09
to amrita-ebook
Dear all,

I am pretty new to AMRITA. Here is the output of my systemcheck.

*********************************
Testing: $AMRITA/SYSTEM/Linux/x86
*********************************
amrpp OK
amrcc OK
amrf77 OK
amrcxx OK
amrar OK
amrld OK
amrso OK
amrdu OK
amrtouch OK
***********************
AMRITAsystem appears OK
***********************

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
***********************
building amrita:: keywords
cd keywords/basic ; make -f amrita.keywords keywords
make[1]: Entering directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/basic'
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/chan.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/logfile.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/printfile.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
make[1]: Leaving directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/basic'
building amrita:gl:: keywords
cd keywords/gl ; make -f amrita.keywords gl
make[1]: Entering directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/gl'
make[1]: Leaving directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/gl'
cd keywords/gl ; make -f amrita.keywords keywords
make[1]: Entering directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/gl'
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/autoscale.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/extent.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/fbframes.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/paste.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/plotfile.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/ps.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
building /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
keywords/savescreen.o
amrf77: error: AMRITA::system -- command failed!
error near: end of line
make[1]: Leaving directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/gl'
building amrita:tools:: keywords
cd keywords/tools ; make -f amrita.keywords keywords
make[1]: Entering directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/tools'
make[1]: Nothing to be done for `keywords'.
make[1]: Leaving directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/tools'
building amrita:embed:: keywords
cd keywords/embed ; make -f amrita.keywords embed
make[1]: Entering directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/embed'
make[1]: Nothing to be done for `embed'.
make[1]: Leaving directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/embed'
cd keywords/embed ; make -f amrita.keywords keywords
make[1]: Entering directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/embed'
make[1]: Nothing to be done for `keywords'.
make[1]: Leaving directory `/home/hbabak/AMRITA/AMRITAv3.03/plugin/
amrita/src/keywords/embed'
*****************************
finished building amrita libs
*****************************
make: Nothing to be done for `kludges'.
linking /home/hbabak/AMRITA/AMRITAv3.03/obj/serial/Linux/x86/O/amrita/
amrita.o
********************************
finished building plugin::amrita
********************************
Sanity Checks
libamrita OK!
libamrita_gl OK!
plugin::amrita BROKEN!
***********************************
amrbuild failed for plugin::amrita!
***********************************


I am not sure if "amrf77: error: AMRITA::system -- command failed!" is
the problem although amrf77 seems ok.

Thanks,
Babak

James Quirk

unread,
Nov 30, 2009, 9:47:43 AM11/30/09
to Babak Hejazi, amrita-ebook
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

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

James

Babak Hejazi

unread,
Nov 30, 2009, 10:00:46 AM11/30/09
to amrita-ebook


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

James Quirk

unread,
Nov 30, 2009, 10:22:19 AM11/30/09
to Babak Hejazi, amrita-ebook
Babak,
>
> 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
>
> Well then I guess this can be the problem:
> gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
gfortran from gcc<4.3 cannot be used to compile plugin::{amrita,amr_sol},
but g77 can. Therefore, if you have g77 installed, you can try
editing the callback's in $AMRITA/SYSTEM/Linux/x86 to use g77 instead
of gfortran. Note, however, I'm no longer supporting the g77 as
most newer Linux distributions (e.g. OpenSUSE) only ship with gfortran.

James
Reply all
Reply to author
Forward
0 new messages