g****g 发帖数: 1828 | 1 README里让make,下面是error:
$ make
Running make for MadGraphII
make[1]: Entering directory `/home/weigang/Downloads/MG_ME_V4.4.32/
MadGraphII'
g77 -O -i4 -ffixed-line-length-132 -c driver.f
make[1]: g77: Command not found
make[1]: *** [driver.o] Error 127
make[1]: Leaving directory `/home/weigang/Downloads/MG_ME_V4.4.32/MadGraphII'
make: *** [mg2] Error 2
我用的UBUNTU。 |
b*****d 发帖数: 271 | 2 you need to install fortran compiler
i think the latest g++ already including g77 .
http://techlogbook.wordpress.com/2008/11/17/installing-g77-in-ubuntukubuntu-intrepid-810/
MadGraphII'
【在 g****g 的大作中提到】 : README里让make,下面是error: : $ make : Running make for MadGraphII : make[1]: Entering directory `/home/weigang/Downloads/MG_ME_V4.4.32/ : MadGraphII' : g77 -O -i4 -ffixed-line-length-132 -c driver.f : make[1]: g77: Command not found : make[1]: *** [driver.o] Error 127 : make[1]: Leaving directory `/home/weigang/Downloads/MG_ME_V4.4.32/MadGraphII' : make: *** [mg2] Error 2
|
b***y 发帖数: 10 | 3 Or you can make a link from gfortran (or other fortran's) to g77. You can
run the following command in the /usr/bin/ folder:
ln gfortran g77 |
g****g 发帖数: 1828 | 4 made a link but still doesn't work.
lrwxrwxrwx 2 root root 12 2009-11-08 13:03 g77 -> gfortran-4.4
Running make for MadGraphII
make[1]: Entering directory `/home/weigang/Downloads/MG_ME_V4.4.32/
MadGraphII'
g77 -O -i4 -ffixed-line-length-132 -c driver.f
f951: error: unrecognized command line option "-i4"
make[1]: *** [driver.o] Error 1
make[1]: Leaving directory `/home/weigang/Downloads/MG_ME_V4.4.32/MadGraphII'
make: *** [mg2] Error 2
【在 b***y 的大作中提到】 : Or you can make a link from gfortran (or other fortran's) to g77. You can : run the following command in the /usr/bin/ folder: : ln gfortran g77
|