Installing papi-4.1.1

Installing papi-4.1.1

Postby Newport_j » Wed Jun 12, 2013 4:01 pm

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

then

make

I followed this with

./run_tests.sh

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
/home/james/Desltop/papi-4.1.1/src/utils

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

/home/james/Desktop/papi-4-1.1/bin

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

Any help appreciated. Thanks in advance.

Newport_h
Newport_j
 
Posts: 8
Joined: Tue Mar 26, 2013 9:26 am

Re: Installing papi-4.1.1

Postby James Ralph » Wed Jun 12, 2013 4:31 pm

./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?

Thanks,
James
James Ralph
 
Posts: 20
Joined: Tue Aug 25, 2009 2:43 pm

Re: Installing papi-4.1.1

Postby Newport_j » Wed Jun 12, 2013 4:42 pm

I will please give me a some time, look for it tomorrow morning.

Respctfully,

Newport_j
Newport_j
 
Posts: 8
Joined: Tue Mar 26, 2013 9:26 am

Re: Installing papi-4.1.1

Postby Newport_j » Thu Jun 13, 2013 9:41 am

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
./run_tests.sh

make install.

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

Is this not true?

Thanks in advance.


Newport_j
Newport_j
 
Posts: 8
Joined: Tue Mar 26, 2013 9:26 am

Re: Installing papi-4.1.1

Postby James Ralph » Thu Jun 13, 2013 9:47 am

run_tests.sh 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.
James Ralph
 
Posts: 20
Joined: Tue Aug 25, 2009 2:43 pm

Re: Installing papi-4.1.1

Postby Fantome » Tue Jun 25, 2013 6:02 am

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 .

Thanks
Fantome
 
Posts: 4
Joined: Tue Jun 25, 2013 4:50 am
Location: Europe (France)


Return to Classic PAPI

Who is online

Users browsing this forum: No registered users and 0 guests