Page 1 of 1

Installing papi-4.1.1

PostPosted: Wed Jun 12, 2013 4:01 pm
by Newport_j
I have installed PAPI-4.1.1 several months ago, but I seem to have forget how to install it now.

My commands were:

./configure --prefix=/home/james/Desktop/papi-4.1.1



I followed this with


all of the tests passed with some also generating a warning. but they all passed.

I then ran

make install

When this command ended the software was installed. However.

there is no /home/james/desktop/papi-4.1.1/bin

directory. This is important because it is where all the binary executables are placed such as papi_avail, papi_cost. etc.

Those papi executables are there they are just in

I do not think thta is where they should be. They should be in the


directory. What must I do to get them in that directory?

Any help appreciated. Thanks in advance.


Re: Installing papi-4.1.1

PostPosted: Wed Jun 12, 2013 4:31 pm
by James Ralph
./configure ... ; make ; make install
is the proper way to build/install the PAPI library, so something is off.

I can't replicate your issue, I ran ./configure --prefix=/home/ralph/papi-4.1.1; make; make install
I get

make install
make[1]: Entering directory `/home/ralph/papi-4.1.1/src/utils'
Utilities (BINDIR) being installed in: "/home/ralph/papi-4.1.1/bin"
mkdir -p /home/ralph/papi-4.1.1/bin
chmod go+rx /home/ralph/papi-4.1.1/bin
find . -perm -100 -type f -exec cp {} /home/ralph/papi-4.1.1/bin \;
make[1]: Leaving directory `/home/ralph/papi-4.1.1/src/utils'

~/papi-4.1.1/src> ls ../bin
papi_avail* papi_clockres* papi_command_line* papi_cost* papi_decode* papi_event_chooser* papi_mem_info* papi_native_avail* papi_version* papi_xml_event_info*

Could you re-run make install and post the full output?


Re: Installing papi-4.1.1

PostPosted: Wed Jun 12, 2013 4:42 pm
by Newport_j
I will please give me a some time, look for it tomorrow morning.



Re: Installing papi-4.1.1

PostPosted: Thu Jun 13, 2013 9:41 am
by Newport_j
I apparently got it this time. I am not sure why it did not work before. Also, I thought that between

./configure --prefix/home/james/Desktop/papi-4.1.1

make install.

In other words one has to ./
between make and make install.

Is this not true?

Thanks in advance.


Re: Installing papi-4.1.1

PostPosted: Thu Jun 13, 2013 9:47 am
by James Ralph is not required to install the library. That script runs several of our
validation tests and provides a useful functionality check, but it is not integral
to the installation procedure.

Re: Installing papi-4.1.1

PostPosted: Tue Jun 25, 2013 6:02 am
by Fantome
Thanks for this help : i could work with PAPI with this post .
But now, i work with papi-5.1.1 and i would know if memory bugs reported by Valgrind when i run it with a program using papi-5.1.1 are also when you use papi-4.1.1 .