HPCL / autoperf

MIT License
5 stars 2 forks source link

AutopPerf installation error on NERSC (Edison) #19

Open rajansawhney opened 8 years ago

rajansawhney commented 8 years ago

AutopPerf installation error on NERSC (Edison)

Error detail: Papi.h header file not found when running the installation om NERSC(Edison) Problem exists even when prefix directory (custom directory) provided for installation

Error:

$ python setup.py install or $ python setup.py install --prefix=

running install running build running build_py creating build creating build/lib.linux-x86_64-2.6 creating build/lib.linux-x86_64-2.6/autoperf copying autoperf/init.py -> build/lib.linux-x86_64-2.6/autoperf copying autoperf/experiment.py -> build/lib.linux-x86_64-2.6/autoperf creating build/lib.linux-x86_64-2.6/autoperf/analyses copying autoperf/analyses/init.py -> build/lib.linux-x86_64-2.6/autoperf/analyses copying autoperf/analyses/compare2.py -> build/lib.linux-x86_64-2.6/autoperf/analyses copying autoperf/analyses/comparison.py -> build/lib.linux-x86_64-2.6/autoperf/analyses copying autoperf/analyses/gensel.py -> build/lib.linux-x86_64-2.6/autoperf/analyses copying autoperf/analyses/interface.py -> build/lib.linux-x86_64-2.6/autoperf/analyses copying autoperf/analyses/metrics.py -> build/lib.linux-x86_64-2.6/autoperf/analyses creating build/lib.linux-x86_64-2.6/autoperf/datastores copying autoperf/datastores/init.py -> build/lib.linux-x86_64-2.6/autoperf/datastores copying autoperf/datastores/interface.py -> build/lib.linux-x86_64-2.6/autoperf/datastores copying autoperf/datastores/nop.py -> build/lib.linux-x86_64-2.6/autoperf/datastores copying autoperf/datastores/taudb.py -> build/lib.linux-x86_64-2.6/autoperf/datastores creating build/lib.linux-x86_64-2.6/autoperf/platforms copying autoperf/platforms/init.py -> build/lib.linux-x86_64-2.6/autoperf/platforms copying autoperf/platforms/aciss-intel.py -> build/lib.linux-x86_64-2.6/autoperf/platforms copying autoperf/platforms/aciss.py -> build/lib.linux-x86_64-2.6/autoperf/platforms copying autoperf/platforms/generic.py -> build/lib.linux-x86_64-2.6/autoperf/platforms copying autoperf/platforms/interface.py -> build/lib.linux-x86_64-2.6/autoperf/platforms copying autoperf/platforms/nersc.py -> build/lib.linux-x86_64-2.6/autoperf/platforms creating build/lib.linux-x86_64-2.6/autoperf/queues copying autoperf/queues/PBS.py -> build/lib.linux-x86_64-2.6/autoperf/queues copying autoperf/queues/init.py -> build/lib.linux-x86_64-2.6/autoperf/queues copying autoperf/queues/interface.py -> build/lib.linux-x86_64-2.6/autoperf/queues copying autoperf/queues/mic.py -> build/lib.linux-x86_64-2.6/autoperf/queues copying autoperf/queues/serial.py -> build/lib.linux-x86_64-2.6/autoperf/queues creating build/lib.linux-x86_64-2.6/autoperf/tools copying autoperf/tools/init.py -> build/lib.linux-x86_64-2.6/autoperf/tools copying autoperf/tools/hpctoolkit.py -> build/lib.linux-x86_64-2.6/autoperf/tools copying autoperf/tools/interface.py -> build/lib.linux-x86_64-2.6/autoperf/tools copying autoperf/tools/tau.py -> build/lib.linux-x86_64-2.6/autoperf/tools creating build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/MathExp.py -> build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/MetricSet.py -> build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/PPK.py -> build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/init.py -> build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/config.py -> build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/logger.py -> build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/metadata.py -> build/lib.linux-x86_64-2.6/autoperf/utils copying autoperf/utils/script.py -> build/lib.linux-x86_64-2.6/autoperf/utils creating build/lib.linux-x86_64-2.6/autoperf/utils/metric_spec copying autoperf/utils/metric_spec/init.py -> build/lib.linux-x86_64-2.6/autoperf/utils/metric_spec creating build/lib.linux-x86_64-2.6/autoperf/utils/scripts copying autoperf/utils/scripts/gensel.sh -> build/lib.linux-x86_64-2.6/autoperf/utils/scripts copying autoperf/utils/scripts/comparison.py -> build/lib.linux-x86_64-2.6/autoperf/utils/scripts copying autoperf/utils/scripts/metrics.py -> build/lib.linux-x86_64-2.6/autoperf/utils/scripts copying autoperf/utils/scripts/taudb_loadtrial.py -> build/lib.linux-x86_64-2.6/autoperf/utils/scripts copying autoperf/utils/metric_spec/FP_INEFFICIENT2 -> build/lib.linux-x86_64-2.6/autoperf/utils/metric_spec running build_ext building 'autoperf.partitioner' extension creating build/temp.linux-x86_64-2.6 creating build/temp.linux-x86_64-2.6/ext gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC -DEXT_PYTHON -I/usr/local/packages/papi/5.0.1/include -I/usr/include/python2.6 -c ext/partitioner.cpp -o build/temp.linux-x86_64-2.6/ext/partitioner.o -Wall -Wno-write-strings ext/partitioner.cpp:17:18: fatal error: papi.h: No such file or directory

include

              ^

compilation terminated. error: command 'gcc' failed with exit status 1

Steps to reproduce:

  1. Login to NERSC Edison
  2. Clone AutoPerf in a directory
  3. Open the directory and run : python setup.py install or python setup.py install --prefix=