PARSEC Benchmark http://parsec.cs.princeton.edu 3.0-beta-20150206 ported to Ubuntu 22.04 and with proper version control and SPLASH2 ported to Buildroot 2017.08 cross compilation (ARM, MIPS, etc.). This repo intends to support all build types and benchmarks. Test data stored on a release since the Princeton website died.
Other
83
stars
39
forks
source link
Fix building parsec.swaptions with pascal hooks failing with cannot find -lhooks: No such file or directory #10
Hi cirosantilli , when I tried to compile the swaptions with gcc-hooks, I notice that LDFLAGS isn't exported, because that the makefile doesn't have the hook lib location
[samuel@Archlinux parsec-benchmark]$ parsecmgmt -a build -p swaptions -c gcc-hooks
[PARSEC] Packages to build: parsec.swaptions
[PARSEC] [========== Building package parsec.swaptions [1] ==========]
[PARSEC] [---------- Analyzing package parsec.swaptions ----------]
[PARSEC] parsec.swaptions depends on: hooks
[PARSEC] [---------- Analyzing package parsec.hooks ----------]
[PARSEC] Package parsec.hooks already exists, proceeding.
[PARSEC] [---------- Building package parsec.swaptions ----------]
[PARSEC] Removing old build directory.
[PARSEC] Copying source code of package parsec.swaptions.
[PARSEC] Running 'env version=pthreads make':
....
/usr/bin/g++ -fpermissive -fno-exceptions -DPARSEC_VERSION=3.0-beta-20150206 -DENABLE_PARSEC_HOOKS -I/home/samuel/Repositories/public/parsec-benchmark/pkgs/libs/hooks/inst/amd64-linux.gcc-hooks/include -pthread -DENABLE_THREADS CumNormalInv.o MaxFunction.o RanUnif.o nr_routines.o icdf.o HJM_SimPath_Forward_Blocking.o HJM.o HJM_Swaption_Blocking.o HJM_Securities.o -lhooks -o swaptions
/usr/bin/ld: cannot find -lhooks: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:31: swaptions] Error 1
Exporting LDFLAGS make possible the makefile access location of hook lib.
Now it's possible compile swaptions with pascal-hooks
Hi cirosantilli , when I tried to compile the swaptions with gcc-hooks, I notice that LDFLAGS isn't exported, because that the makefile doesn't have the hook lib location
Exporting LDFLAGS make possible the makefile access location of hook lib.
Now it's possible compile swaptions with pascal-hooks