Comments (7)
@gavahi thank for your solution, works for me
from sst-dumpi.
What platform are you running on? And which compilers are you using?
from sst-dumpi.
CentOS Linux release 7.2.1511
mpicc at mpich.3.2.1
from sst-dumpi.
The DUMPI binary files are generated when running this simple code:
#include <mpi.h>
int main(int argc, char** argv)
{
MPI_Init(&argc, &argv);
MPI_Finalize();
return 0;
}
I compile this code in this way:
mpicc -o test test.c -L/<DUMPI_PATH>/lib -ldumpi
from sst-dumpi.
Are you definitely compiling the MPI version of the IS test? Traces will not get generated unless there is an MPI_Init and MPI_Finalize call in the code.
Can you also send me the output of a make V=1
?
from sst-dumpi.
Both MPI_Init and MPI_Finalize are called in IS
. I attached the is.c
to this message.
is.txt
This is the output of a make V=1
make V=1 NPROCS=4 CLASS=C
make[1]: Entering directory /home/gavahi/NPB3.3.1-no-wrapper/NPB3.3-MPI/sys
make[1]: Nothing to be done for all.
make[1]: Leaving directory `/home/gavahi/NPB3.3.1-no-wrapper/NPB3.3-MPI/sys'
../sys/setparams is 4 C
/home/gavahi/normal-mpi/ethernet/install-mpich/bin/mpicc -c -I/home/gavahi/normal-mpi/ethernet/install-mpich/include -O -L/home/gavahi/normal-mpi/ethernet/install-mpich/lib -lmpi -L/home/gavahi/sst-dumpi-master/install-dumpi/lib -ldumpi is.c
is.c: In function ‘main’:
is.c:1130:13: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy( t_recs[T_TOTAL], "total" );
^
/home/gavahi/normal-mpi/ethernet/install-mpich/bin/mpicc -O -o ../bin/is.C.4 is.o ../common/c_print_results.o ../common/c_timers.o -L/home/gavahi/normal-mpi/ethernet/install-mpich/lib -lmpi -L/home/gavahi/sst-dumpi-master/install-dumpi/lib -ldumpi
from sst-dumpi.
I changed the position of calling Dumpi at Makfile and it worked.
This is the output of a make V=1
. I highlighted the important part at the last line.
make v=1 NPROCS=4 CLASS=C
make[1]: Entering directory /home/gavahi/NPB3.3.1-no-wrapper/NPB3.3-MPI/sys cc -g -o setparams setparams.c make[1]: Leaving directory /home/gavahi/NPB3.3.1-no-wrapper/NPB3.3-MPI/sys
../sys/setparams is 4 C
make.def modified. Rebuilding npbparams.h just in case
rm -f npbparams.h
../sys/setparams is 4 C
/home/gavahi/normal-mpi/ethernet/install-mpich/bin/mpicc -c -I/home/gavahi/normal-mpi/ethernet/install-mpich/include -O -L/home/gavahi/normal-mpi/ethernet/install-mpich/lib -lmpi is.c
is.c: In function ‘main’:
is.c:1131:13: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy( t_recs[T_TOTAL], "total" );
^
/home/gavahi/normal-mpi/ethernet/install-mpich/bin/mpicc -O -L/home/gavahi/sst-dumpi-master/install-dumpi/lib -ldumpi
-o ../bin/is.C.4 is.o ../common/c_print_results.o ../common/c_timers.o -L/home/gavahi/normal-mpi/ethernet/install-mpich/lib -lmpi
from sst-dumpi.
Related Issues (13)
- Configure error HOT 2
- Suspicious values in MPI_Testany records HOT 2
- libundumpi thread value
- DUMPI_UNDEFINED for comm split color
- memory leaks in dumpi2dumpi and dumpi2ascii
- How can I get trace file from python script?
- Errors from deprecated DUMPI_CONST while building sst-dumpi HOT 2
- test issue
- Issue while building sst-dumpi HOT 1
- DUMPI with a Fortran code HOT 1
- Install DUMPI libaray HOT 13
- Error: trace::get_commentry: Invalid communicator index.
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 sst-dumpi.