[parsec-users] Building splash2x Error

Malek Musleh malek.musleh at gmail.com
Fri Mar 29 17:44:58 EDT 2013


Hi,

I am trying to build splash2x benchmarks from parsec3.0 Beta Release, and
am running into some errors.

1) It was looking for this
file: ./pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4

which does not exist (and looks to be a typo in the name). I created a
symbolic link of this name to parmacs.serial.c.m4, and it at least passed
that part of the compilation.

2) I had to modify the
file: /pkgs/libs/parmacs/inst/amd64-linux.gcc/build-info

because the environment variables for CC, CXX just had '/bin/gcc'  and
'/bin/g++ ' respectively, even though my CC_HOME variables were correct in
the config/gcc.bldconf file.

The next error I encounter after the above two steps is the following:

musleh at ee336pc5:~/parsec-3.0-beta/parsec-3.0$ parsecmgmt -a build -p
splash2x[PARSEC] Packages to build:  splash2x.barnes splash2x.cholesky
splash2x.fft splash2x.fmm splash2x.lu_cb splash2x.lu_ncb splash2x.ocean_cp
splash2x.ocean_ncp splash2x.radiosity splash2x.radix splash2x.raytrace
splash2x.volrend splash2x.water_nsquared splash2x.water_spatial

[PARSEC] [========== Building package splash2x.barnes [1] ==========]
[PARSEC] [---------- Analyzing package splash2x.barnes ----------]
[PARSEC] splash2x.barnes depends on: parmacs
[PARSEC] [---------- Analyzing package parsec.parmacs ----------]
[PARSEC] Package parsec.parmacs already exists, proceeding.
[PARSEC] [---------- Building package splash2x.barnes ----------]
[PARSEC] Removing old build directory.
[PARSEC] Copying source code of package splash2x.barnes.
[PARSEC] Running 'env version=pthreads /usr/bin/make':
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
code.H > code.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
defs.H > defs.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
util.H > util.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
vectmath.H > vectmath.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
load.H > load.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
code_io.H > code_io.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
grav.H > grav.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
getparam.H > getparam.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
stdinc.H > stdinc.h
/usr/bin/m4 -s -Ulen -Uindex
/home/musleh/parsec-3.0-beta/parsec-3.0/pkgs/libs/parmacs/inst/amd64-linux.gcc/m4/parmacs..c.m4
code.C > code.c
/bin/gcc -c -O3 -funroll-loops -fprefetch-loop-arrays -static-libgcc
-Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=3.0-beta-20120904 -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
-Wdisabled-optimization -Wpadded -Winline -Wpointer-arith -Wsign-compare
-Wendif-labels -DENABLE_THREADS -pthread code.c
make: /bin/gcc: Command not found
make: *** [code.o] Error 127
[PARSEC] Error: 'env version=pthreads /usr/bin/make' failed.

The error is easy enough to fix (looks like another ENV variable typo issue
in some config file, but I can't seem to locate which file is generating
that command.

Malek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20130329/37ad82b1/attachment.html>


More information about the parsec-users mailing list