Code Monkey home page Code Monkey logo

Comments (3)

JainTwinkle avatar JainTwinkle commented on July 29, 2024

It should have more errors above sh: tmp.sh: No such file or directory. These are the side-effects of not being able to build lh_proxy.

from mana.

 avatar commented on July 29, 2024

python3 generate-mpi-stub-wrappers.py mpi_stub_wrappers.txt >> $tmp && mv -f $tmp mpi_stub_wrappers.c || (rm -f $tmp && false)
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -I.. -I../lower-half -std=gnu11 -c -o mpi_stub_wrappers.o mpi_stub_wrappers.c
cc -fPIC mpi_stub_wrappers.o -shared -o libmpistub.so
cp -f libmpistub.so /home/tom/mana/lib/dmtcp/
cd /home/tom/mana/lib/dmtcp &&
ln -sf libmpistub.so libmpich_intel.so.3.0.1 &&
ln -sf libmpich_intel.so.3.0.1 libmpich_intel.so.3 &&
ln -sf libmpistub.so libmpich_gnu_82.so.3.0.1 &&
ln -sf libmpich_gnu_82.so.3.0.1 libmpich_gnu_82.so.3
cd /home/tom/mana/lib/dmtcp &&
ln -sf libmpistub.so libpmi.so.0.5.0 &&
ln -sf libpmi.so.0.5.0 libpmi.so.0
cp -f mana_p2p_update_logs /home/tom/mana/bin/
make[3]: Leaving directory '/home/tom/mana/mpi-proxy-split/mpi-wrappers'
make[2]: Leaving directory '/home/tom/mana/mpi-proxy-split'
make /home/tom/mana/bin/lh_proxy
make[2]: Entering directory '/home/tom/mana/mpi-proxy-split'
make -C lower-half install
make[3]: Entering directory '/home/tom/mana/mpi-proxy-split/lower-half'
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -std=gnu11 -c -o lh_proxy.o lh_proxy.c
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -std=gnu11 -c -o libproxy.o libproxy.c
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -std=gnu11 -c -o sbrk.o sbrk.c
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -std=gnu11 -c -o mmap64.o mmap64.c
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -std=gnu11 -c -o munmap.o munmap.c
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -std=gnu11 -c -o shmat.o shmat.c
mpicc -fno-stack-protector -Wall -g3 -O0 -DDEBUG -fPIC -I/home/tom/mana/dmtcp/include -std=gnu11 -c -o shmget.o shmget.c
cd gethostbyname-static && make gethostbyname_static.o
make[4]: Entering directory '/home/tom/mana/mpi-proxy-split/lower-half/gethostbyname-static'
cc -g3 -O0 -c -o gethostbyname_static.o gethostbyname_static.c
make[4]: Leaving directory '/home/tom/mana/mpi-proxy-split/lower-half/gethostbyname-static'
cd gethostbyname-static && make gethostbyname_proxy
make[4]: Entering directory '/home/tom/mana/mpi-proxy-split/lower-half/gethostbyname-static'
cc -g3 -O0 gethostbyname_proxy.c -o gethostbyname_proxy
ar cr libproxy.a libproxy.o procmapsutils.o sbrk.o mmap64.o munmap.o shmat.o shmget.o
make[4]: Leaving directory '/home/tom/mana/mpi-proxy-split/lower-half/gethostbyname-static'
cp -f gethostbyname-static/gethostbyname_proxy /home/tom/mana/bin/
if mpicc -v 2>&1 | grep -q 'MPICH version'; then
rm -f tmp.sh;
mpicc -show -static -Wl,--wrap -Wl,__munmap -Wl,--wrap -Wl,shmat -Wl,--wrap -Wl,shmget -Wl,-Ttext-segment=E000000 -o lh_proxy -Wl,-start-group
lh_proxy.o libproxy.a gethostbyname-static/gethostbyname_static.o -L$HOME/mpich-static/usr/lib64 -lmpi -llzma -lz -lm -lxml2 -lrt -lpthread -lc -Wl,-end-group |
sed -e 's^-lunwind ^ ^'> tmp.sh;
sh tmp.sh;
rm -f tmp.sh;
else
mpicc -static -Wl,--wrap -Wl,__munmap -Wl,--wrap -Wl,shmat -Wl,--wrap -Wl,shmget -Wl,-Ttext-segment=E000000 -o lh_proxy -Wl,-start-group
lh_proxy.o libproxy.a gethostbyname-static/gethostbyname_static.o -L$HOME/mpich-static/usr/lib64 -lmpi -llzma -lz -lm -lxml2 -lrt -lpthread -lc -Wl,-end-group;
fi
if mpicc -v 2>&1 | grep -q 'MPICH version'; then
rm -f tmp.sh;
mpicc -show -static -Wl,--wrap -Wl,__munmap -Wl,--wrap -Wl,shmat -Wl,--wrap -Wl,shmget -o lh_proxy_da -Wl,-start-group
lh_proxy.o libproxy.a gethostbyname-static/gethostbyname_static.o -L$HOME/mpich-static/usr/lib64 -lmpi -llzma -lz -lm -lxml2 -lrt -lpthread -lc -Wl,-end-group |
sed -e 's^-lunwind ^ ^'> tmp.sh;
sh tmp.sh;
rm -f tmp.sh;
else
mpicc -static -Wl,--wrap -Wl,__munmap -Wl,--wrap -Wl,shmat -Wl,--wrap -Wl,shmget -o lh_proxy_da -Wl,-start-group
lh_proxy.o libproxy.a gethostbyname-static/gethostbyname_static.o -L$HOME/mpich-static/usr/lib64 -lmpi -llzma -lz -lm -lxml2 -lrt -lpthread -lc -Wl,-end-group;
fi
cp -f lh_proxy lh_proxy_da gethostbyname-static/gethostbyname_static.o /home/tom/mana/bin/
make[3]: Leaving directory '/home/tom/mana/mpi-proxy-split/lower-half'
make[2]: Leaving directory '/home/tom/mana/mpi-proxy-split'
make[1]: Leaving directory '/home/tom/mana/mpi-proxy-split'
, stderr=openjdk version "1.8.0_322"
OpenJDK Runtime Environment (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode)
javac 1.8.0_322
mtcp_util.c: In function ‘mmap_fixed_noreplace’:
mtcp_util.c:828:7: warning: variable ‘mtcp_sys_errno’ set but not used [-Wunused-but-set-variable]
int mtcp_sys_errno; // mtcp_sys_mmap, etc., are macros using this
^~~~~~~~~~~~~~
mtcp_restart.c: In function ‘mtcp_simulateread’:
mtcp_restart.c:488:7: warning: variable ‘mtcp_sys_errno’ set but not used [-Wunused-but-set-variable]
int mtcp_sys_errno;
^~~~~~~~~~~~~~
pid/pid.cpp: In function ‘void pidVirt_ProcessProcSelfTask(DmtcpEventData_t*)’:
pid/pid.cpp:159:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
snprintf(tidStr, PATH_MAX, "%d%s", realTid, buf);
^~~~~~
pid/pid.cpp:159:13: note: ‘snprintf’ output between 2 and 4107 bytes into a destination of size 4096
snprintf(tidStr, PATH_MAX, "%d%s", realTid, buf);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mutex.cpp: In function ‘int DmtcpMutexTryLock(DmtcpMutex*)’:
mutex.cpp:82:22: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘pid_t’ {aka ‘int’} [-Wsign-compare]
if (mutex->owner == owner) {
~~~~~~~~~~~~~^~~~~~~~
In file included from mutex.cpp:3:
mutex.cpp: In function ‘int DmtcpMutexUnlock(DmtcpMutex*)’:
mutex.cpp:119:24: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘pid_t’ {aka ‘int’} [-Wsign-compare]
JASSERT(mutex->owner == owner);
~~~~~~~~~~~~~^~~~~~~~
../jalib/jassert.h:238:8: note: in definition of macro ‘JASSERT’
if ((term)) {
^~~~
In file included from rwlock.cpp:6:
rwlock.cpp: In function ‘int DmtcpRWLockUnlock(DmtcpRWLock*)’:
rwlock.cpp:145:33: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘pid_t’ {aka ‘int’} [-Wsign-compare]
JASSERT(rwlock->xLock.owner == dmtcp_gettid());
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../jalib/jassert.h:238:8: note: in definition of macro ‘JASSERT’
if ((term)) {
^~~~
threadlist.cpp: In function ‘void dmtcp::ThreadList::suspendThreads()’:
threadlist.cpp:440:11: warning: unused variable ‘ret’ [-Wunused-variable]
int ret;
^~~
writeckpt.cpp: In function ‘void writememoryarea(int, Area*, int)’:
writeckpt.cpp:527:64: warning: comparison of integer expressions of different signedness: ‘__off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
area->mmapFileSize = ((statbuf.st_size - area->offset) > area->size) ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
f951: Warning: command line option ‘-std=gnu11’ is valid for C/ObjC but not for Fortran
mpi_comm_wrappers.cpp: In function ‘int MPI_Comm_create_keyval(int ()(MPI_Comm, int, void, void*, void*, int*), int ()(MPI_Comm, int, void, void*), int*, void*)’:
mpi_comm_wrappers.cpp:418:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
for (; keyval < keyvalVec.size(); keyval++) {
~~~~~~~^~~~~~~~~~~~~~~~~~
mpi_comm_wrappers.cpp: In function ‘int MPI_Comm_free_keyval(int*)’:
mpi_comm_wrappers.cpp:447:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
if (keyval < keyvalVec.size() && keyvalVec[keyval] != -1) {
~~~~~~~^~~~~~~~~~~~~~~~~~
mpi_request_wrappers.cpp: In function ‘int MPI_Testall(int, MPI_Request*, int*, MPI_Status*)’:
mpi_request_wrappers.cpp:127:7: warning: unused variable ‘local_count’ [-Wunused-variable]
int local_count = count;
^~~~~~~~~~~
mpi_request_wrappers.cpp: In function ‘int MPI_Waitall(int, MPI_Request*, MPI_Status*)’:
mpi_request_wrappers.cpp:218:7: warning: unused variable ‘local_count’ [-Wunused-variable]
int local_count = count;
^~~~~~~~~~~
mpi_request_wrappers.cpp: In function ‘int MPI_Waitany(int, MPI_Request*, int*, MPI_Status*)’:
mpi_request_wrappers.cpp:248:7: warning: unused variable ‘local_count’ [-Wunused-variable]
int local_count = count;
^~~~~~~~~~~
split_process.cpp: In function ‘void findLHMemRange(MemRange_t*)’:
split_process.cpp:361:8: warning: unused variable ‘prev_path_name’ [-Wunused-variable]
char prev_path_name[PATH_MAX];
^~~~~~~~~~~~~~
p2p_log_replay.cpp: In function ‘request_info_t* lookupRequestInfo(MPI_Request)’:
p2p_log_replay.cpp:131:19: warning: unused variable ‘req_info’ [-Wunused-variable]
request_info_t *req_info;
^~~~~~~~
p2p_drain_send_recv.cpp: In function ‘void removePendingSendRequests()’:
p2p_drain_send_recv.cpp:205:9: warning: unused variable ‘flag’ [-Wunused-variable]
int flag = 0;
^~~~
p2p_drain_send_recv.cpp: In function ‘bool allDrained()’:
p2p_drain_send_recv.cpp:230:17: warning: unused variable ‘request’ [-Wunused-variable]
MPI_Request request = it->first;
^~~~~~~
two-phase-algo.cpp: In member function ‘void dmtcp_mpi::TwoPhaseAlgo::commit_begin(MPI_Comm)’:
two-phase-algo.cpp:134:7: warning: unused variable ‘flag’ [-Wunused-variable]
int flag = 0;
^~~~
two-phase-algo.cpp: In member function ‘void dmtcp_mpi::TwoPhaseAlgo::replayTrivialBarrier()’:
two-phase-algo.cpp:204:9: warning: unused variable ‘flag’ [-Wunused-variable]
int flag = 0;
^~~~
two-phase-algo.cpp:205:9: warning: variable ‘tb_rc’ set but not used [-Wunused-but-set-variable]
int tb_rc = -1;
^~~~~
libproxy.c: In function ‘first_constructor’:
libproxy.c:284:12: warning: unused variable ‘argv’ [-Wunused-variable]
char argv = (char)(stackstart + sizeof(unsigned long));
^~~~
libproxy.c:283:9: warning: unused variable ‘argc’ [-Wunused-variable]
int argc = (int)stackstart;
^~~~
libproxy.c:271:15: warning: unused variable ‘data’ [-Wunused-variable]
Area txt, data, heap;
^~~~
At top level:
libproxy.c:181:1: warning: ‘isValidFd’ defined but not used [-Wunused-function]
isValidFd(int fd)
^~~~~~~~~
libproxy.c:167:1: warning: ‘copyArgv’ defined but not used [-Wunused-function]
copyArgv(int argc, char **argv)
^~~~~~~~
sbrk.c: In function ‘__sbrk’:
sbrk.c:50:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
if (__curbrk == NULL || __libc_multiple_libcs)
^
sh: tmp.sh: No such file or directory
cp: cannot stat 'lh_proxy': No such file or directory
cp: cannot stat 'lh_proxy_da': No such file or directory
make[3]: *** [Makefile:97: install] Error 1
make[2]: *** [Makefile:106: /home/tom/mana/bin/lh_proxy] Error 2
make[1]: *** [Makefile:120: install] Error 2
make: *** [Makefile:49: mana] Error 2

from mana.

 avatar commented on July 29, 2024

I'm not seeing another error, just warnings it looks like

from mana.

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.