PrincetonUniversity / cpf

Collaborative Parallelization Framework (CPF)
MIT License
31 stars 4 forks source link

Bootstrap Script #1

Closed vgene closed 4 years ago

vgene commented 4 years ago

A set of scripts to download, setup, and compile LLVM/NOELLE/CPF with both release and debug profile.

vgene commented 4 years ago

Use CMake method to compile CPF

Reasons:

vgene commented 4 years ago

727b55c

Use cmake for analysis, seems to be working

Workflow:

# Under ./liberty
mkdir build
cmake ..
make -j32
vgene commented 4 years ago

36bb38b60 Done with all subdirectories under ./lib and ./support/{FullLoopProf, specpriv-profile} Tested with 2mm, went through all profilings, something wrong with heap classification during pipeline generation.

Problems noticed:

vgene commented 4 years ago

045d34bfaf2b48a09

Compile from scratch - LLVM, NOELLE, and CPF, generating both versions Allow skip recompiling LLVM and CPF Just need to verify the correctness and automatically generate two environment profiles for debug and release

vgene commented 4 years ago

Note: NOELLE ./src/scripts/run_me/sh will fail if cmake3 is not detected due to run_me.sh running with bash -e. We made a local copy of cmake3 on red, but should fix in NOELLE.

vgene commented 4 years ago

Note: NOELLE ./src/scripts/run_me/sh will fail if cmake3 is not detected due to run_me.sh running with bash -e. We made a local copy of cmake3 on red, but should fix in NOELLE.

Fixed in NOELLE