Git Product home page Git Product logo

Comments (10)

lee218llnl avatar lee218llnl commented on June 27, 2024

My beset guess is that there is a version conflict in boost. The older MRNet you are using may include it's own boost which may not work well with the boost on your system. If you can get an MRNet 5.X version installed, that may work better. Alternatively, I encourage most people to build STAT and its dependencies using Spack (https://github.com/LLNL/spack). From https://github.com/LLNL/STAT/blob/develop/INSTALL:

STAT and its dependencies can also be built via the Spack
package management tool, available at
https://github.com/LLNL/spack. Running spack install stat
should build STAT and all of its dependencies, including those
require for the STAT GUI. Note that two Spack variants exist.
The first is +examples, to enable building example MPI code
that STAT can be tested against. This is disabled by default to
avoid requiring an MPI library, but enabling it will trigger a
build of MPI. The second is +dysect to enable building of the
DySectAPI.

from stat.

akkbook avatar akkbook commented on June 27, 2024

Thanks.

from stat.

akkbook avatar akkbook commented on June 27, 2024

Dear authors,

Thanks very much for your advice . I try to install STAT2.2 & STAT 3.0.1 on Redhat 7 64 bit operation system(gcc-4.8.5, gfortran-4.8.5, mpich3.3, python-2.7.5 openmpi3.0 mrnet4.x->mrnet5.x).

So my questions are:

  1. STAT 2.2 STAT_GraphRoutines_Error
  2. STAT 3.0.1 hw.F:17: Error: Can't open included file 'mpif.h'

I do not konw where is wrong.Would you give me some more advice? Thanks :D


STAT 2.2
[root@localhost stat22]# make
make all-recursive
make[1]: 进入目录“/root/stat22”
Making all in src
make[2]: 进入目录“/root/stat22/src”
make[3]: 进入目录“/root/stat22/src”
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DSTAT_PREFIX="/root/stat22/install" -I/root/mr41/lib/xplat-4.0.0/include -I/root/mr41/lib/mrnet-4.0.0/include -g -O2 -I/usr/include/python2.7/ -I/root/dyn930/stackwalk/include -I/root/dwarf-20170416/libdwarf/include -I/root/gra300/include -I/root/laun102/install/include -I/root/mr41/include -MT libstatfe_la-STAT_GraphRoutines.lo -MD -MP -MF .deps/libstatfe_la-STAT_GraphRoutines.Tpo -c -o libstatfe_la-STAT_GraphRoutines.lo test -f 'STAT_GraphRoutines.C' || echo './'STAT_GraphRoutines.C
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSTAT_PREFIX="/root/stat22/install" -I/root/mr41/lib/xplat-4.0.0/include -I/root/mr41/lib/mrnet-4.0.0/include -g -O2 -I/usr/include/python2.7/ -I/root/dyn930/stackwalk/include -I/root/dwarf-20170416/libdwarf/include -I/root/gra300/include -I/root/laun102/install/include -I/root/mr41/include -MT libstatfe_la-STAT_GraphRoutines.lo -MD -MP -MF .deps/libstatfe_la-STAT_GraphRoutines.Tpo -c STAT_GraphRoutines.C -fPIC -DPIC -o .libs/libstatfe_la-STAT_GraphRoutines.o
STAT_GraphRoutines.C: 在函数‘void statInitializeBitVectorFunctions()’中:
STAT_GraphRoutines.C:130:44: 错误:从类型‘long int ()(const void)’到类型‘long int ()(const char, const void*)’的转换无 [-fpermissive]
gStatBitVectorFunctions->edge_checksum = statEdgeCheckSum;
^
STAT_GraphRoutines.C: 在函数‘void statInitializeMergeFunctions()’中:
STAT_GraphRoutines.C:164:40: 错误:从类型‘long int ()(const void)’到类型‘long int ()(const char, const void*)’的转换无 [-fpermissive]
gStatMergeFunctions->edge_checksum = statEdgeCheckSum;
^
STAT_GraphRoutines.C: 在函数‘void statInitializeReorderFunctions()’中:
STAT_GraphRoutines.C:198:42: 错误:从类型‘long int ()(const void)’到类型‘long int ()(const char, const void*)’的转换无 [-fpermissive]
gStatReorderFunctions->edge_checksum = statEdgeCheckSum;
^
STAT_GraphRoutines.C: 在函数‘void statInitializeCountRepFunctions()’中:
STAT_GraphRoutines.C:232:43: 错误:从类型‘long int ()(const void)’到类型‘long int ()(const char, const void*)’的转换无 [-fpermissive]
gStatCountRepFunctions->edge_checksum = statCountRepEdgeCheckSum;
^
make[3]: *** [libstatfe_la-STAT_GraphRoutines.lo] 错误 1
make[3]: 离开目录“/root/stat22/src”
make[2]: *** [all-recursive] 错误 1
make[2]: 离开目录“/root/stat22/src”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/root/stat22”
make: *** [all] 错误 2


STAT 3.0.1
[root@localhost STAT-3.0.1]# ./configure --with-launchmon=/root/laun102/install --with-graphlib=/root/gra300 --with-mrnet=/root/mr50/ --with-stackwalker=/root/dyn930/stackwalk --with-libdwarf=/root/dwarf-20170416/libdwarf --prefix=/root/stat22/install MPICC=cc MPICXX=CC MPIF77=ftn --enable-shared LD=/usr/bin/ld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rsh... /usr/bin/rsh
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking Python include dir... /usr/include/python2.7
checking for swig... swig
checking for dot... /usr/bin/dot
checking for main in -liberty... yes
checking for elf_begin in -lelf... yes
checking for dwarf_init in -ldwarf... yes
checking for walker.h... yes
checking Checking Dyninst Version 9.3 or greater... yes
checking for Symtab.h... yes
checking for libstackwalk... yes
checking for libompd_intel... no
checking for libomp_stackwalker... no
checking for graphlib.h... yes
checking Checking Graphlib Version... 3.0
checking for graphlib_newGraph in -llnlgraph... yes
checking for lmon_api/lmon_fe.h... yes
checking for lmon_api/lmon_be.h... yes
checking for LMON_fe_createSession in -lmonfeapi... yes
checking for LMON_be_init in -lmonbeapi... yes
checking for launchmon... /root/laun102/install/bin/launchmon
checking for newlaunchmon... /root/laun102/install/bin/newlaunchmon
checking specify RM's communication library... no
checking for mrnet/MRNet.h... yes
checking Checking MRNet Version... 4.0
checking for libmrnet... yes
checking for mrnet_commnode... /root/mr50//bin/mrnet_commnode
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether to enable debug build... no
checking for mpigcc... cc
checking for mpig++... CC
checking for mpigfortran... ftn
checking for mpigfortran... no
checking for mpif90... no
checking for mpiifort... no
checking for mpxlf... no
checking for mpixlf... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for pow... no
checking for select... yes
checking for strdup... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for python version... (cached) 2.7
checking for python platform... (cached) linux2
checking for python script directory... (cached) ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... (cached) ${exec_prefix}/lib64/python2.7/site-packages
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/dysect/Makefile
config.status: creating src/dysect/DysectAPI/Makefile
config.status: creating src/dysect/libDysectAPI/Makefile
config.status: creating src/dysect/libDysectAPI/include/Makefile
config.status: creating src/dysect/libDysectAPI/src/Makefile
config.status: creating src/analyticslib/Makefile
config.status: creating examples/Makefile
config.status: creating examples/src/Makefile
config.status: creating examples/scripts/Makefile
config.status: creating examples/sessions/Makefile
config.status: creating doc/Makefile
config.status: creating doc/userguide/Makefile
config.status: creating doc/quickstart/Makefile
config.status: creating etc/Makefile
config.status: creating man/Makefile
config.status: creating scripts/STAT
config.status: creating scripts/stat-cl
config.status: creating scripts/Makefile
config.status: creating scripts/STATGUI
config.status: creating scripts/STATview
config.status: creating scripts/stat-script
config.status: creating scripts/stat-gui
config.status: creating scripts/stat-view
config.status: creating scripts/stat-core-merger
config.status: creating scripts/attach-helper
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
[root@localhost STAT-3.0.1]# make
make all-recursive
make[1]: 进入目录“/root/STAT-3.0.1”
Making all in src
make[2]: 进入目录“/root/STAT-3.0.1/src”
make[3]: 进入目录“/root/STAT-3.0.1/src”
swig -c++ -python -DSTAT_PREFIX="/root/stat22/install" -o STAT_wrap.C STAT.i
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I./ -DSTAT_PREFIX="/root/stat22/install" -I/root/mr50//lib/xplat-5.0.0/include -I/root/mr50//lib/mrnet-5.0.0/include -g -O2 -I/usr/include/python2.7/ -I/root/dyn930/stackwalk/include -I/root/dwarf-20170416/libdwarf/include -std=c++11 -I/root/gra300/include -I/root/laun102/install/include -I/root/mr50//include -MT _STAT_la-STAT_wrap.lo -MD -MP -MF .deps/_STAT_la-STAT_wrap.Tpo -c -o _STAT_la-STAT_wrap.lo test -f 'STAT_wrap.C' || echo './'STAT_wrap.C
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I./ -DSTAT_PREFIX="/root/stat22/install" -I/root/mr50//lib/xplat-5.0.0/include -I/root/mr50//lib/mrnet-5.0.0/include -g -O2 -I/usr/include/python2.7/ -I/root/dyn930/stackwalk/include -I/root/dwarf-20170416/libdwarf/include -std=c++11 -I/root/gra300/include -I/root/laun102/install/include -I/root/mr50//include -MT _STAT_la-STAT_wrap.lo -MD -MP -MF .deps/_STAT_la-STAT_wrap.Tpo -c STAT_wrap.C -fPIC -DPIC -o .libs/_STAT_la-STAT_wrap.o
mv -f .deps/_STAT_la-STAT_wrap.Tpo .deps/_STAT_la-STAT_wrap.Plo
/bin/sh ../libtool --tag=CXX --mode=link g++ -DSTAT_PREFIX="/root/stat22/install" -I/root/mr50//lib/xplat-5.0.0/include -I/root/mr50//lib/mrnet-5.0.0/include -g -O2 -I/usr/include/python2.7/ -I/root/dyn930/stackwalk/include -I/root/dwarf-20170416/libdwarf/include -std=c++11 -I/root/gra300/include -I/root/laun102/install/include -I/root/mr50//include -module -avoid-version -L/root/dyn930/stackwalk/lib -L/root/dwarf-20170416/libdwarf/lib -L/root/gra300/lib -L/root/laun102/install/lib -L/root/mr50//lib -Wl,-rpath=/root/dyn930/stackwalk/lib -Wl,-rpath=/root/dwarf-20170416/libdwarf/lib -Wl,-rpath=/root/gra300/lib -Wl,-rpath=/root/laun102/install/lib -Wl,-rpath=/root/mr50//lib -o _STAT.la -rpath /root/stat22/install/lib64/python2.7/site-packages _STAT_la-STAT_wrap.lo libstatfe.la -llnlgraph -lmonfeapi -lmrnet -lxplat -lpthread -ldl
libtool: link: rm -fr .libs/_STAT.la .libs/_STAT.lai .libs/_STAT.so .libs/_STAT.soT
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o .libs/_STAT_la-STAT_wrap.o -Wl,-rpath -Wl,/root/STAT-3.0.1/src/.libs -Wl,-rpath -Wl,/root/laun102/install/lib -Wl,-rpath -Wl,/root/STAT-3.0.1/install/lib -Wl,-rpath -Wl,/root/laun102/install/lib -L/root/dyn930/stackwalk/lib -L/root/dwarf-20170416/libdwarf/lib -L/root/gra300/lib -L/root/laun102/install/lib -L/root/mr50//lib ./.libs/libstatfe.so -llnlgraph /root/laun102/install/lib/libmonfeapi.so /root/laun102/install/lib/libcobo.so -lgcrypt -lgpg-error -lrt -lmrnet -lxplat -lpthread -ldl -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o -O2 -Wl,-rpath=/root/dyn930/stackwalk/lib -Wl,-rpath=/root/dwarf-20170416/libdwarf/lib -Wl,-rpath=/root/gra300/lib -Wl,-rpath=/root/laun102/install/lib -Wl,-rpath=/root/mr50//lib -Wl,-soname -Wl,_STAT.so -o .libs/_STAT.so
libtool: link: ( cd ".libs" && rm -f "_STAT.la" && ln -s "../_STAT.la" "_STAT.la" )
make[3]: 离开目录“/root/STAT-3.0.1/src”
make[2]: 离开目录“/root/STAT-3.0.1/src”
Making all in doc
make[2]: 进入目录“/root/STAT-3.0.1/doc”
Making all in userguide
make[3]: 进入目录“/root/STAT-3.0.1/doc/userguide”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/root/STAT-3.0.1/doc/userguide”
Making all in quickstart
make[3]: 进入目录“/root/STAT-3.0.1/doc/quickstart”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/root/STAT-3.0.1/doc/quickstart”
make[3]: 进入目录“/root/STAT-3.0.1/doc”
make[3]: 对“all-am”无需做任何事。
make[3]: 离开目录“/root/STAT-3.0.1/doc”
make[2]: 离开目录“/root/STAT-3.0.1/doc”
Making all in man
make[2]: 进入目录“/root/STAT-3.0.1/man”
make[2]: 对“all”无需做任何事。
make[2]: 离开目录“/root/STAT-3.0.1/man”
Making all in scripts
make[2]: 进入目录“/root/STAT-3.0.1/scripts”
make[2]: 对“all”无需做任何事。
make[2]: 离开目录“/root/STAT-3.0.1/scripts”
Making all in examples
make[2]: 进入目录“/root/STAT-3.0.1/examples”
Making all in src
make[3]: 进入目录“/root/STAT-3.0.1/examples/src”
gfortran -DHAVE_CONFIG_H -I. -I../.. -c -o hw.o hw.F
hw.F:17: Error: Can't open included file 'mpif.h'
make[3]: *** [hw.o] 错误 1
make[3]: 离开目录“/root/STAT-3.0.1/examples/src”
make[2]: *** [all-recursive] 错误 1
make[2]: 离开目录“/root/STAT-3.0.1/examples”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/root/STAT-3.0.1”
make: *** [all] 错误 2

from stat.

lee218llnl avatar lee218llnl commented on June 27, 2024

For issue 1, you may want to try adding "-fpermissive" to your CXXFLAGS. I believe I set this as default in the 3.X versions.

For issue 2, you can configure with "--disable-examples" and it won't try building the Fortran test code. Otherwise, you can try to hunt down where in your MPI installation the mpif.h file lives.

from stat.

akkbook avatar akkbook commented on June 27, 2024

Thank you very much for your advice.

I refer to your recommendation to re-build mrnet 4.1 using spack as mrnet5.0.1 and mrnet5.0.0. When installing mrnet5.0.1 & mrnet5.0.0, I found that the prefix option didn't work and the program was automatically built in/mrnet5.0.1 /build /. When I perform the STAT., often appear mrnet/configure configuration STAT mrnet mrnet. H file can't find, so I myself to edit the mrn_incs = ls -d $MRNETPREFIX/lib / * / include (20229-20240), the place to pass configuration program.

When I install launchmon v1.0.2 found - with - test - rm - with - test - ncore - per - CN - with - test - nnodes - with - test - rm - lib these options, I there is no installation slurm operating systems, so do not know much about this a few options should be how to set up, before installation is a reference when your Travis - dep - builder. Sh file content.when your Travis - dep - builder. Sh file content.
I managed to compile STAT, but when I ran. / STAT - GUI tracing STAT/example/to_test
Mpirun -np 4. / to_test.launchmon has the error message and the program terminates.

[root @ localhost bin] #. / stat - GUI - sync
Xlib: extension "RANDR" missing on display "localhost:12.0".

(INFO): Unknown resource manager type: it could be misconfiguration in a rm config file.

(ERROR): read_lmonp_msg returned a negative return code
(ERROR): front end's connection to launchmon engine is disconnected?

STAT software installation dependencies:
1.STAT v3.0.1 2. Dyninst-9.3.0 3. Launchmon v1.02 4 mrnet 4.1->mrnet5.0.1

I query the Troubleshooting Guide but there is no relevant content. Would you please provide some Suggestions?
Looking forward to your reply.

from stat.

lee218llnl avatar lee218llnl commented on June 27, 2024

What MPI implementation are you using, OpenMPI, Mvapich, Mpich, or something else? Also what resource manager are you using. FYI, SLURM is not an Operating System, but rather a resource manager.

One thing you may want to consider trying is to install STAT using spack. https://github.com/spack/spack. You can also install OpenMPI via spack and that has been tested and known to work.

You should also make sure you can get LaunchMON's tests running OK before you try STAT. I think it is just a matter of getting LaunchMON configure properly for your MPI/job launcher environment, so please let me know more about what MPI and what resource manager you are using.

from stat.

akkbook avatar akkbook commented on June 27, 2024

Software & Version
mpich-3.2.1
openmpi-3.0.0
slurm-17.11.0
munge-0.5.12
spack-0.10.0

launchmon-1.0.2-> 1.0.1
/usr/bin/ld: basic.o: undefined reference to symbol 'gpg_strerror'
/root/launchmon-1.0.1/tools/libgpg-error/src/.libs/libgpg-error.so.0: error adding symbols: DSO missing from command line

mpich-3.2.1 environment variables:
MPI_HOME=/root/mpich321/install
export PATH=${MPI_HOME}/bin:$PATH
export LD_LIBRARY_PATH=${MPI_HOME}/lib:$LD_LIBRARY_PATH
export INCLUDE=${MPI_HOME}/include:$INCLUDE
export MANPATH=${MPI_HOME}/share/man/man1:{MPI_HOME}/share/man/man3$MANPATH

[root@localhost bin]# ./spack install mpich
==> Installing mpich
==> Fetching http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz
######################################################################## 100.0%
==> Staging archive: /root/spack-0.10.0/var/spack/stage/mpich-3.2-unrwfbzwdnkartjmlmrt3hltanbin73o/mpich-3.2.tar.gz
==> Created stage in /root/spack-0.10.0/var/spack/stage/mpich-3.2-unrwfbzwdnkartjmlmrt3hltanbin73o
==> Ran patch() for mpich
==> Building mpich [AutotoolsPackage]
==> Executing phase : 'autoreconf'
==> Executing phase : 'configure'
==> Executing phase : 'build'
==> Executing phase : 'install'
==> Successfully installed mpich
Fetch: 41.16s. Build: 5m 10.67s. Total: 5m 51.83s.
[+] /root/spack-0.10.0/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/mpich-3.2-unrwfbzwdnkartjmlmrt3hltanbin73o

source mpich321.sh
mpicc to_test.c -o to_test
mpirun -np 2 --allow-run-as-root ./root/STAT-3.0.1/example/src/to_test

Error:
[root@localhost bin]# ./stat-gui
Xlib: extension "RANDR" missing on display "localhost:13.0".
<Dec 20 10:40:09> (INFO): Unknown resource manager type: it could be misconfiguration in a rm config file.
<12月 20 10:40:09> (ERROR): read_lmonp_msg returned a negative return code
<12月 20 10:40:09> (ERROR): front end's connection to launchmon engine is disconnected?

[root@localhost bin]# ./stat-gui --sync
Xlib: extension "RANDR" missing on display "localhost:12.0".
/root/STAT-3.0.1/install/lib/python2.7/site-packages/STATview.py:294: GtkWarning: GdkWindow 0x2002f4 unexpectedly destroyed
gtk.main_iteration(False)
<Dec 20 12:40:36> (INFO): Unknown resource manager type: it could be misconfiguration in a rm config file.
<12月 20 12:40:36> (ERROR): read_lmonp_msg returned a negative return code
<12月 20 12:40:36> (ERROR): front end's connection to launchmon engine is disconnected?

I failed to install slurm a few days ago, but STAT can also generate tree diagrams, and I forgot how to install it.I'm trying to install munge & slurm.
Can you offer some Suggestions?
Q1. Launchmon option & STAT the correct installation configuration method
Q2..Launchmon 1.01 "error adding symbols: DSO missing from command line" and STAT "a rm config file"
I tried to query some of the processing methods on the network without success
Q3. Is there a trial version of Totalview & DDT?

from stat.

lee218llnl avatar lee218llnl commented on June 27, 2024

Q1: I don't think the mpich mpirun is supported, as it may not implement the MPIR debug interface that LaunchMON requires. Can you launch it with SLURM's srun? Alternatively, can you build your MPI application with OpenMPI and run with OpenMPI's oreterun?

Q2: Use LaunchMON 1.0.2, not 1.0.1

Q3: Go the their websites and see if you can get a trial. I don't work for either of them, so I don't know the answer.

from stat.

akkbook avatar akkbook commented on June 27, 2024

Ok, I see. Thanks for lee218llnl!I'll try again.

from stat.

lee218llnl avatar lee218llnl commented on June 27, 2024

This issue is very old and the questions should be resolved. Feel free to reopen if there are still problems.

from stat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.