Comments (8)
Thanks to Mr. Johann Duffek at HSU solved the problem.
Extrae and Paraver are both working.
I am not a good github user, but he created a patch.
from extrae.
To deal with non standard paths for MPI libraries, Extrae's configure has the --with-mpi-libs
option that receives the full path to the MPI libraries. This patch should not be needed if using this option.
Did you find any reason not to use this option that justifies the need for this patch.
from extrae.
I tried with the --with-mpi-libs option. it does not work.
FIRST
./configure --with-mpi-libs=/opt/intel/oneapi/mpi/latest/lib/release
configure: error: Attention! You have not passed the location of the MPI library through --with-mpi option. Please, use --with-mpi to specify the location of the MPI installation on your system, or if you don't want that Extrae supports MPI instrumentation use --without-mpi instead.
THEN
./configure --with-mpi-libs=/opt/intel/oneapi/mpi/latest/lib/release --with-mpi=/opt/intel/oneapi/mpi/latest/lib/release
checking for MPI C compiler... configure: error: Cannot find ${MPI_HOME}/bin/mpicc. You can pass an alternate through MPICC environment variable.
THEN
./configure --with-mpi-libs=/opt/intel/oneapi/mpi/latest/lib/release --with-mpi=/opt/intel/oneapi/mpi/latest/lib/release MPICC=/opt/intel/oneapi/mpi/latest/bin/mpicc
configure: WARNING: Attention! It seems that your processor frequency changes on the fly through 'upowerd'. We add --enable-posix-clock to your configure line so as to use clock routines that can adapt to the processor frequency changes. However, if you know for sure that your processor speed does not change, you can proceed by adding --disable-posix-clock to use the fastest clock routines
checking for _POSIX_C_SOURCE to be at least 199309L... yes
checking for _POSIX_MONOTONIC_CLOCK to be defined... yes
checking for clock_gettime and CLOCK_MONOTONIC in default libraries... found
checking for peruse.h... ./configure: line 28551: test: not: binary operator expected
not available
checking for Fortran PMPI symbols name decoration scheme... 0 underscores
checking size of MPI_Status... 0
checking size of int... 0
./configure: line 28919: 0/0: division by 0 (error token is "0")
HOWEVER, if I apply this patch,I can just run like
./configure --prefix=/tmp/extrae --with-mpi=$I_MPI_ROOT --enable-openmp --with-papi=/usr --with-unwind=/usr --without-dyninst
Package configuration for Extrae 4.0.4
-----------------------
Installation prefix: /tmp/extrae
Cross compilation: no
CC: gcc
CXX: g++
Binary type: 64 bits
MPI instrumentation: yes
MPI home: /opt/intel/oneapi/mpi/2021.9.0
MPI launcher: /opt/intel/oneapi/mpi/2021.9.0/bin/mpirun
Fortran decoration: 0 underscores
mixed C/Fortran libraries? yes
shared libraries? yes
MPI capabilities: 1-sided I/O MPI_Comm_spawn MPI3
GASPI instrumentation: no
OpenMP instrumentation: yes, through LD_PRELOAD
GNU OpenMP: yes
IBM OpenMP: no
Intel OpenMP: yes
OMPT: yes
OpenSHMEM instrumentation: no
pThread instrumentation: yes
Support for pthread_barrier_wait: yes
Support for pthread_cond_* calls: yes
CUDA instrumentation: no
OpenCL instrumentation: no
OPENACC instrumentation: no
Java instrumentation: unsupported
Performance counters: yes
Performance API: PAPI
PAPI home: /usr
Sampling support: yes
PEBS sampling: yes
libbfd available: yes (/usr/lib/x86_64-linux-gnu)
libiberty available: yes (/usr/lib/x86_64-linux-gnu)
zlib available: yes (/usr/local)
libxml2 available: yes (/home/maosui/anaconda3)
BOOST available: no
callstack access: through libunwind (/usr)
Dynamic instrumentation: yes (not found)
Optional features:
------------------
On-line analysis: no
Clock routine: POSIX / clock_gettime, but don't need to link against posix clock library explicitly
Heterogeneous support: no
Parallel merge: yes
from extrae.
Have you tried :
./configure --with-mpi=/opt/intel/oneapi/mpi/latest --with-mpi-libs=/opt/intel/oneapi/mpi/latest/lib/release
The --with-mpi-libs
option is used to specify only the path to MPI libraries, you still need to use --with-mpi
for configure to find the includes and the binaries.
from extrae.
It is like this now, saying that I dont have unwind.
if I included the unwind path
Then I get error like this
![image](https://private-user-images.githubusercontent.com/40854317/250111132-f1d727a3-311e-48f7-8bbd-e7f8d93f41eb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNzkwNTcsIm5iZiI6MTcyMzM3ODc1NywicGF0aCI6Ii80MDg1NDMxNy8yNTAxMTExMzItZjFkNzI3YTMtMzExZS00OGY3LThiYmQtZTdmOGQ5M2Y0MWViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDEyMTkxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1Nzk1OTUyODQ0NGI4YjZjY2E1MzQ0ZmE2MTlhMzBkOTU4MTc1OGYxNmYyODAyOWQ1ODg5NzM4MjdkNDU2YjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dMB9eKggzBX3LoHXv1rBTdBdX8JLuhZQ-_wlK5R9WbE)
from extrae.
If I use the patch, then the code is working with the unwind path.
I am using intel oneAPI Toolkits, Base and HPC installed together
Intel® oneAPI Toolkits
Release 2023.1
from extrae.
Strange, it seems that with --with-mpi
and --with-mpi-libs
configure finds the MPI instalation but complains about not finding libunwind
but when specifying the location of libunwind then it stops finding the MPI libraries.
We don't understand how specifying the path for unwind affects finding the MPI libraries, and it doesn't seem to happen locally on our machines. I'm leaving the issue open until further updates.
Could you please share the full output of running?
./configure --prefix=/tmp/extrae --with-mpi=$I_MPI_ROOT --with-mpi-libs=${I_MPI_ROOT}/lib/release --enable-openmp --with-papi=/usr --with-unwind=/usr --without-dyninst
from extrae.
with the commond you gave, now everything works fine now.
Then maybe this can be an example in your document.
from extrae.
Related Issues (20)
- sleep needs unistd.h
- MPI test failures
- cannot build on opensuse HOT 2
- Fortran MPI+OpenMP mpi2dim: Error! unregistered event type HOT 3
- Can not get user-functions HOT 5
- Extrae ignores config files HOT 4
- xml2 cflags aren't propagated correctly HOT 8
- PTHREAD test fails with Segmentation fault in Extrae 4.1.6 HOT 3
- MPI tests fail with Segmentation Fault in Extrae 4.1.6 HOT 7
- Segmentation fault occurred when running with PAPI HOT 3
- Avoid hw-counters tests in the `make check` step?
- Internal Error: insert(): Duplicate key found! - using Extrae_event HOT 2
- `Extrae_define_event_type` does not honor value range of `extrae_value_t`
- `Extrae_define_event_type` does not honor value range of `extrae_type_t`
- Extrae doesn't build with GCC versions >= 14
- Non-clear configure options on intercepting LLVM OpenMP Runtime symbols
- Missing script in distribution available at tools.bsc.es HOT 1
- Missing documentation on src/tracer/wrappers/OMP/genstubs-*.sh HOT 2
- `run_overhead_tests.sh` doesn't work properly when using a minimal installation of extrae
- Figure 13.1 in https://tools.bsc.es/doc/html/extrae/overhead.html isn't rendered
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extrae.