make command failed
basma@basma-Satellite-A500:~/Dmtcp/dmtcp-2.0$ make
DMTCP version: 2.0 (MTCP_VERSION = 81)
Date built: Fri Oct 4 22:53:45 EET 2013
config.log: ./configure
Description: Ubuntu 12.10
Codename: quantal
Linux basma-Satellite-A500 3.5.0-28-generic #48-Ubuntu SMP Tue Apr 23 23:03:38
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Compiler: gcc
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
GNU ld (GNU Binutils for Ubuntu) 2.22.90.20120924
lrwxrwxrwx 1 root root 12 Jan 28 2013 /lib/x86_64-linux-gnu/libc.so.6 ->
libc-2.15.so
cd mtcp && make DMTCP_VERSION=2.0 CFLAGS="-g -O2" CPPFLAGS="" LDFLAGS="" CC=gcc
build readmtcp
make[1]: Entering directory `/home/basma/Dmtcp/dmtcp-2.0/mtcp'
make[1]: Nothing to be done for `build'.
make[1]: `readmtcp' is up to date.
make[1]: Leaving directory `/home/basma/Dmtcp/dmtcp-2.0/mtcp'
cd dmtcp && make
make[1]: Entering directory `/home/basma/Dmtcp/dmtcp-2.0/dmtcp'
Making all in src
make[2]: Entering directory `/home/basma/Dmtcp/dmtcp-2.0/dmtcp/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/basma/Dmtcp/dmtcp-2.0/dmtcp/src'
make[2]: Entering directory `/home/basma/Dmtcp/dmtcp-2.0/dmtcp'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/basma/Dmtcp/dmtcp-2.0/dmtcp'
make[1]: Leaving directory `/home/basma/Dmtcp/dmtcp-2.0/dmtcp'
cd plugin && make
make[1]: Entering directory `/home/basma/Dmtcp/dmtcp-2.0/plugin'
cd pid && make
make[2]: Entering directory `/home/basma/Dmtcp/dmtcp-2.0/plugin/pid'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/basma/Dmtcp/dmtcp-2.0/plugin/pid'
cd ipc && make
make[2]: Entering directory `/home/basma/Dmtcp/dmtcp-2.0/plugin/ipc'
g++ -I. -I../../dmtcp/jalib -I../../dmtcp/include -g -O2 -DHAVE_CONFIG_H -fPIC
-g -c -o filewrappers.o file/filewrappers.cpp
file/filewrappers.cpp: In function ‘char* canonicalize_file_name(const char*)’:
file/filewrappers.cpp:664:18: error: inlining failed in call to always_inline
‘char* realpath(const char*, char*) throw ()’: function not inlinable
file/filewrappers.cpp:718:29: error: called from here
make[2]: *** [filewrappers.o] Error 1
make[2]: Leaving directory `/home/basma/Dmtcp/dmtcp-2.0/plugin/ipc'
make[1]: *** [ipc] Error 2
make[1]: Leaving directory `/home/basma/Dmtcp/dmtcp-2.0/plugin'
make: *** [plugin] Error 2
From: [email protected]
Date: Fri, 4 Oct 2013 15:04:09 -0400
Subject: Re: FW: [Dmtcp-forum] OpenMPI program Checkpoint restart
To: [email protected]
CC: [email protected]
Hi Basma,
Sorry for the delayed response. Could you please try out the dmtcp 2.0 release
that came out yesterday? We can proceed from there to find a fix for your
problem.
Kapil
On Fri, Oct 4, 2013 at 3:02 PM, basma a.azeem <[email protected]>
wrote:
Any Suggestions ?
From: [email protected]
To: [email protected]
Subject: RE: [Dmtcp-forum] OpenMPI program Checkpoint restart
Date: Tue, 1 Oct 2013 02:04:58 +0200
Thank you for your reply
OpenMPI version : 1.6.5
DMTCP version :dmtcp-1.2.8
gcc version :gcc-4.7
linux ubuntu Kernel version 3.5.0-28-generic
my program is MPI/C Integer Sort of Nas Parallel Benchmark NPB 3.3 which run
using 4 processes
is this the right way and the only way to restart Openmpi programusing DMTCP?
or what i did wrong?
and can i try a MPI/Fortran program also?
Thank you
From: [email protected]
Date: Sun, 29 Sep 2013 11:42:29 -0400
Subject: Re: [Dmtcp-forum] OpenMPI program Checkpoint restart
To: [email protected]
CC: [email protected]
Hi,
Thank you for contacting us.
Could your provide us more information about the OpenMPI version that you are
using? Also, DMTCP, libc, gcc, and kernel versions too.
Thanks,Kapil
On Sat, Sep 28, 2013 at 6:49 PM, basma a.azeem <[email protected]>
wrote:
i need to use DMTCP to checkpoint and restart OpenMPI program
DMTCP was installed on my machine
and openmpi run normally
so i ran the following command:
:~$ dmtcp_checkpoint mpirun -np 4
/home/basma/NPB3.3/NPB3.3/NPB3.3-MPI/bin/is.A.4
my program is MPI/C Integer Sort of Nas Parallel Benchmark which run using 4
processes
then i created a manual checkpoint using the dmtcp_coordinator
so i had the following files in my home folder:
ckpt_orterun_5721e6a7ff40367d-2937-52471e26.dmtcp
ckpt_is.A.4_5721e6a7ff40367d-2942-52471e26.dmtcp
ckpt_is.A.4_5721e6a7ff40367d-2944-52471e26.dmtcp
ckpt_is.A.4_5721e6a7ff40367d-2947-52471e26.dmtcp
ckpt_is.A.4_5721e6a7ff40367d-2950-52471e26.dmtcp
dmtcp_restart_script.sh
dmtcp_restart_script_5721e6a7ff40367d-2937-52471e26.sh
i used the following command to restart:
basma@basma-Satellite-A500:~$ ./dmtcp_restart_script.sh
dmtcp_checkpoint (DMTCP + MTCP) 1.2.8
Copyright (C) 2006-2011 Jason Ansel, Michael Rieker, Kapil Arya, and
Gene Cooperman
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see COPYING file for details.
(Use flag "-q" to hide this message.)
[3398] ERROR at connection.cpp:1137 in restore;
REASON='JASSERT(jalib::Filesystem::FileExists(_path) == false) failed'
_path = /run/shm/open_mpi.0001
Message:
**** File already exists! Checkpointed copy can't be restored.
****Delete the existing file and try again!
dmtcp_restart (3398): Terminating...
which file should i use to restart the OpenMPI program?and which command?
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum