Skip to Content.
Sympa Menu

opal - Re: [Opal] Mac binary problems

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Mac binary problems


Chronological Thread 
  • From: Andreas Adelmann <andreas.adelmann AT psi.ch>
  • To: opal AT lists.psi.ch
  • Cc: Ted Burleson <tburleso AT engr.colostate.edu>
  • Subject: Re: [Opal] Mac binary problems
  • Date: Mon, 19 Mar 2012 22:21:48 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/opal/>
  • List-id: The OPAL Discussion Forum <opal.lists.psi.ch>

Hello Ted thanks for the otool output.

teds-imac:opal_svn Ted$ otool -L opal.1.1.9.mac 
opal.1.1.9.mac:
    /opt/local/lib/libgsl.0.dylib (compatibility version 16.0.0, current version 16.0.0)
    /opt/local/lib/libgslcblas.0.dylib (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
    /Users/adelmann/extlib/openmpi-1.4.3/lib/libmpi_cxx.0.dylib (compatibility version 1.0.0, current version 1.1.0)
    /Users/adelmann/extlib/openmpi-1.4.3/lib/libmpi.0.dylib (compatibility version 1.0.0, current version 1.2.0)
    /Users/adelmann/extlib/openmpi-1.4.3/lib/libopen-rte.0.dylib (compatibility version 1.0.0, current version 1.0.0)
    /Users/adelmann/extlib/openmpi-1.4.3/lib/libopen-pal.0.dylib (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libutil.dylib (compatibility version 1.0.0, current version 1.0.0)
    /opt/local/lib/gcc46/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.15.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
    /opt/local/lib/gcc46/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

I guess that the dynamic libraries are not found, for some unknown reasons. As far as I understand 
the path: /Users/adelmann/extlib/openmpi-1.4.3/lib does not mean much, as long as the dylib's are found,
however here my MAC knowledge ends. 

One thing you can try is to make a symlink from your openmpi/lib to /Users/adelmann/extlib/openmpi-1.4.3/lib

Cheers Andreas 


On Mar 19, 2012, at 9:51 PM, Ted Burleson wrote:

I am trying to use the opal mac binary 1.1.9 on an iMac running OSX Lion 10.7.3

I have all the prerequisite libraries installed

Every attempt to run the executable produces nothing but errors.

teds-imac:~ Ted$ /Users/Ted/opal_svn/opal.1.1.9.mac ; exit;
*** The MPI_Comm_rank() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[teds-imac.engr.colostate.edu:97728] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!
opal.1.1.9.mac(97728) malloc: *** error for object 0x1010a8560: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
logout

[Process completed]




or



teds-imac:/ Ted$ mpirun -np 2 opal.1.1.9.mac ~/opal_svn/OPAL/opal-Tests/Basics/test1.in --commlib mpi --info 0 --warn 0
[teds-imac:97704] *** Process received signal ***
[teds-imac:97704] Signal: Segmentation fault: 11 (11)
[teds-imac:97704] Signal code: Address not mapped (1)
[teds-imac:97704] Failing at address: 0x7ff3b3d205d0
[teds-imac:97704] [ 0] 2   libsystem_c.dylib                   0x00007fff8f21dcfa _sigtramp + 26
[teds-imac:97704] *** End of error message ***
Segmentation fault: 11



or - tried running as super user ....


teds-imac:opal_svn Ted$ sudo mpirun -np 2 ~/opal_svn/opal.1.1.9.mac ~/opal_svn/OPAL/opal-Tests/Basics/test1.in --commlib mpi --info 0 --warn 0
Password:
Ippl> CommMPI: Parent process waiting for children ...
Ippl> CommMPI: Started job 1 on host `teds-imac.engr.colostate.edu'.
Ippl> CommMPI: Child 1 ready.
Ippl> CommMPI: Initialization complete.
{0}>                ____  _____       ___
{0}>               / __ \|  __ \ /\   | |
{0}>              | |  | | |__) /  \  | |
{0}>              | |  | |  ___/ /\ \ | |
{0}>              | |__| | |  / ____ \| |____
{0}>               \____/|_| /_/    \_\______|
OPAL {0}>
OPAL {0}> This is OPAL (Object Oriented Parallel Accelerator Library) Version 1.1.9 SVN version 12466  (c) PSI, http://amas.web.psi.ch
OPAL {0}>
OPAL {0}> Please send cookies, goodies or other motivations (wine and beer ... ) to andreas.adelmann AT psi.ch
OPAL {0}> Time: 14.50.28 date: 19/03/2012
opal.1.1.9.mac(97734) malloc: *** error for object 0x1010a8560: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
opal.1.1.9.mac(97735) malloc: *** error for object 0x1010a8560: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[teds-imac:97735] *** Process received signal ***
[teds-imac:97735] Signal: Abort trap: 6 (6)
[teds-imac:97735] Signal code:  (0)
[teds-imac:97734] *** Process received signal ***
[teds-imac:97734] Signal: Abort trap: 6 (6)
[teds-imac:97734] Signal code:  (0)
[teds-imac:97735] *** End of error message ***
[teds-imac:97734] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 97734 on node teds-imac.engr.colostate.edu exited on signal 6 (Abort trap: 6).



I appreciate any assistance. I really need to get this going!

-Thanks


--
-Ted Burleson
CSU ECE GRA
tburleso AT engr.colostate.edu
970-491-8851


------
Dr. sc. math. Andreas (Andy) Adelmann
Staff Scientist
Paul Scherrer Institut WLGB/132 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Phone Home: xx41 62 891 91 44
-------------------------------------------------------
Thursdays: ETH CAB H 83.1  +41 44 632 36 72
============================================
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 
============================================






Archive powered by MHonArc 2.6.19.

Top of Page