I'm trying to compile Linpack on a Ubuntu cluster. I'm running MPI. I've modified the following values to fit my system TOPdir MPdir LAlib CC LINKER.
When compiling I get the following error: (the error is at the end, the other errors in between are because I've ran the script several times so some folders already exist)
Code :
administrator@..:~/hpl$ sudo make arch=LinuxGeneric
make -f Make.top startup_dir arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
mkdir include/LinuxGeneric
mkdir: cannot create directory `include/LinuxGeneric': File exists
make[1]: [startup_dir] Error 1 (ignored)
mkdir lib
mkdir: cannot create directory `lib': File exists
make[1]: [startup_dir] Error 1 (ignored)
mkdir lib/LinuxGeneric
mkdir: cannot create directory `lib/LinuxGeneric': File exists
make[1]: [startup_dir] Error 1 (ignored)
mkdir bin
mkdir: cannot create directory `bin': File exists
make[1]: [startup_dir] Error 1 (ignored)
mkdir bin/LinuxGeneric
mkdir: cannot create directory `bin/LinuxGeneric': File exists
make[1]: [startup_dir] Error 1 (ignored)
make[1]: Leaving directory `/home/administrator/hpl'
make -f Make.top startup_src arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
make -f Make.top leaf le=src/auxil arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/auxil ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/auxil/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=src/blas arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/blas ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/blas/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=src/comm arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/comm ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/comm/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=src/grid arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/grid ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/grid/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=src/panel arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/panel ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/panel/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=src/pauxil arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/pauxil ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/pauxil/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=src/pfact arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/pfact ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/pfact/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=src/pgesv arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd src/pgesv ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd src/pgesv/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make[1]: Leaving directory `/home/administrator/hpl'
make -f Make.top startup_tst arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
make -f Make.top leaf le=testing/matgen arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd testing/matgen ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd testing/matgen/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=testing/timer arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd testing/timer ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd testing/timer/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=testing/pmatgen arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd testing/pmatgen ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd testing/pmatgen/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=testing/ptimer arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd testing/ptimer ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd testing/ptimer/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make -f Make.top leaf le=testing/ptest arch=LinuxGeneric
make[2]: Entering directory `/home/administrator/hpl'
( cd testing/ptest ; mkdir LinuxGeneric )
mkdir: cannot create directory `LinuxGeneric': File exists
make[2]: [leaf] Error 1 (ignored)
( cd testing/ptest/LinuxGeneric ; \
ln -s /home/administrator/hpl/Make.LinuxGeneric Make.inc )
ln: creating symbolic link `Make.inc': File exists
make[2]: [leaf] Error 1 (ignored)
make[2]: Leaving directory `/home/administrator/hpl'
make[1]: Leaving directory `/home/administrator/hpl'
make -f Make.top refresh_src arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
cp makes/Make.auxil src/auxil/LinuxGeneric/Makefile
cp makes/Make.blas src/blas/LinuxGeneric/Makefile
cp makes/Make.comm src/comm/LinuxGeneric/Makefile
cp makes/Make.grid src/grid/LinuxGeneric/Makefile
cp makes/Make.panel src/panel/LinuxGeneric/Makefile
cp makes/Make.pauxil src/pauxil/LinuxGeneric/Makefile
cp makes/Make.pfact src/pfact/LinuxGeneric/Makefile
cp makes/Make.pgesv src/pgesv/LinuxGeneric/Makefile
make[1]: Leaving directory `/home/administrator/hpl'
make -f Make.top refresh_tst arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
cp makes/Make.matgen testing/matgen/LinuxGeneric/Makefile
cp makes/Make.timer testing/timer/LinuxGeneric/Makefile
cp makes/Make.pmatgen testing/pmatgen/LinuxGeneric/Makefile
cp makes/Make.ptimer testing/ptimer/LinuxGeneric/Makefile
cp makes/Make.ptest testing/ptest/LinuxGeneric/Makefile
make[1]: Leaving directory `/home/administrator/hpl'
make -f Make.top refresh_src arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
cp makes/Make.auxil src/auxil/LinuxGeneric/Makefile
cp makes/Make.blas src/blas/LinuxGeneric/Makefile
cp makes/Make.comm src/comm/LinuxGeneric/Makefile
cp makes/Make.grid src/grid/LinuxGeneric/Makefile
cp makes/Make.panel src/panel/LinuxGeneric/Makefile
cp makes/Make.pauxil src/pauxil/LinuxGeneric/Makefile
cp makes/Make.pfact src/pfact/LinuxGeneric/Makefile
cp makes/Make.pgesv src/pgesv/LinuxGeneric/Makefile
make[1]: Leaving directory `/home/administrator/hpl'
make -f Make.top refresh_tst arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
cp makes/Make.matgen testing/matgen/LinuxGeneric/Makefile
cp makes/Make.timer testing/timer/LinuxGeneric/Makefile
cp makes/Make.pmatgen testing/pmatgen/LinuxGeneric/Makefile
cp makes/Make.ptimer testing/ptimer/LinuxGeneric/Makefile
cp makes/Make.ptest testing/ptest/LinuxGeneric/Makefile
make[1]: Leaving directory `/home/administrator/hpl'
make -f Make.top build_src arch=LinuxGeneric
make[1]: Entering directory `/home/administrator/hpl'
( cd src/auxil/LinuxGeneric; make )
make[2]: Entering directory `/home/administrator/hpl/src/auxil/LinuxGeneric'
ar r /home/administrator/hpl/lib/Linux_PII_FBLAS/libhpl.a HPL_dlacpy.o HPL_dlatcpy.o HPL_fprintf.o HPL_warn.o HPL_abort.o HPL_dlaprnt.o HPL_dlange.o HPL_dlamch.o
ar: /home/administrator/hpl/lib/Linux_PII_FBLAS/libhpl.a: No such file or directory
make[2]: *** [lib.grd] Error 1
make[2]: Leaving directory `/home/administrator/hpl/src/auxil/LinuxGeneric'
make[1]: *** [build_src] Error 2
make[1]: Leaving directory `/home/administrator/hpl'
make: *** [build] Error 2
Can anyone help me with this?