[parsec-users] Building splash2x Error

Malek Musleh malek.musleh at gmail.com
Sun Mar 31 17:18:03 EDT 2013


Hi,

I managed to figure out the problem, I was missing an environment variable
in one of the ./config/ files. Although on a separate note, the makefiles
within the /ext/splash2 /ext/splash2x have gcc hardcoded. Attempting to
crosscompile the benchmarks, resulted in errors. I changed 'gcc' to ${CC}
and it seemed to work.

The above 2 points I mentioned earlier should still stand as a bug fix.

Malek


On Fri, Mar 29, 2013 at 5:44 PM, Malek Musleh <malek.musleh at gmail.com>wrote:

> 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/20130331/e53422c0/attachment.html>


More information about the parsec-users mailing list