1:BUILD_BY[name] student5 1:BUILD_ENVIRONMENT[operating system 32 vs 64] 1:END_BUILD_ENVIRONMENT 1:DEPENDENCIES[list of dependencies with where to get them] 1:END_DEPENDENCIES 1:NOTES[notes on attempted build] Makefile failed to build. Requires modifications to the makefile but no clear instructions provided on how to proceed with it. 1:END_NOTES 2:BUILD_BY[name] student4 2:BUILD_ENVIRONMENT[operating system 32 vs 64] >>>> lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise >>>> uname -a Linux student-VPCSE13FX 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux >>>> lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Stepping: 7 CPU MHz: 800.000 BogoMIPS: 4789.10 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 3072K NUMA node0 CPU(s): 0-3 >>>> javac -version javac 1.7.0_51 >>>> gcc --version gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 2:END_BUILD_ENVIRONMENT 2:DEPENDENCIES[list of dependencies with where to get them] 2:END_DEPENDENCIES 2:NOTES[notes on attempted build] Following directions in README First try to run make in ./record student@student-VPCSE13FX:~/temp/repro/ScalaTraceV2/record$ make (for i in wrapper-engine libsrc/glob libsrc/node libsrc/dump; do (cd $i; make all) || break; done) make[1]: Entering directory `/home/student/temp/repro/ScalaTraceV2/record/wrapper-engine' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/student/temp/repro/ScalaTraceV2/record/wrapper-engine' make[1]: Entering directory `/home/student/temp/repro/ScalaTraceV2/record/libsrc/glob' mpicxx -Wno-write-strings -O0 -g -fno-omit-frame-pointer -DMPICH_SKIP_MPICXX -DMPICH_IGNORE_CXX_SEEK -DFEATURE_SIG_DIFF=0 -DCOMPRESS_CROSS_NODE -DCOMPRESS_INTRA_NODE -I -I -I -DMPICH_IGNORE_CXX_SEEK -I/home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../libsrc -I/home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../common/inc -I/home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../libsrc/glob -I/home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../../stackwalk/ver0 -o Ranklist.o -c /home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../common/src/Ranklist.C /home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../common/src/Ranklist.C: In member function ‘void Ranklist::merge(Ranklist*)’: /home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../common/src/Ranklist.C:31:53: error: ‘malloc’ was not declared in this scope /home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../common/src/Ranklist.C:44:10: error: ‘free’ was not declared in this scope /home/student/temp/repro/ScalaTraceV2/record/libsrc/glob/../../common/src/Ranklist.C: In member function ‘void Ranklist::merge_recursive_lists(int**, int, int*, int)’: ... ... From searching on google, it appears that this could be becuase in older versions of gcc, stdlib would be automatically imported. To Ranklist.C and ParamValue.C, I added: #include #include Also in Param.C I added: #include I repeated this for other files, until make succeeded. I also successfully ran make in ./replay and ./stackwalk/ver0 and ./test Next to run tests: student@student-VPCSE13FX:~/temp/repro/ScalaTraceV2/test/looplcs$ make make: Nothing to be done for `all'. student@student-VPCSE13FX:~/temp/repro/ScalaTraceV2/test/looplcs$ ./looplcs [student-VPCSE13FX:31166] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 357 [student-VPCSE13FX:31166] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 230 [student-VPCSE13FX:31166] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../orte/runtime/orte_init.c at line 132 -------------------------------------------------------------------------- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_ess_set_name failed --> Returned value A system-required executable either could not be found or was not executable by this user (-127) instead of ORTE_SUCCESS -------------------------------------------------------------------------- -------------------------------------------------------------------------- It looks like MPI_INIT failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during MPI_INIT; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): ompi_mpi_init: orte_init failed --> Returned "A system-required executable either could not be found or was not executable by this user" (-127) instead of "Success" (0) -------------------------------------------------------------------------- *** The MPI_Init() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [student-VPCSE13FX:31166] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! I search for orte_init >sudo find . -iname ess_singleton_module.c isn't on my system Googled it and found: http://stackoverflow.com/questions/7011519/mpiexec-fails-as-mpi-init-aborts So I try installing mpich2 > sudo apt-get install mpich2 And attempt to run again but same problem. Issue appears to be with linking to an MPI library, have run out of time debugging. I had this issue in another context due to improperly configured links with openMPI and MPICH conflicting, due to this we decided to give the code the benefit of the doubt. 2:END_NOTES