[OMPI users] Is there a workaround available to get around fork() where I don't have access to the program's source code?

2020-10-21 Thread Ewen Chan via users
To Whom It May Concern: I have a program that I am running that has the MPI call fork() and when I run the program, I get the following warning: -- An MPI process has executed an operation involving a call to the "fork()" sy

Re: [OMPI users] Question about OpenMPI paths

2019-07-25 Thread Ewen Chan via users
All: Whoops. My apologies to everybody. Accidentally pressed the wrong combination of buttons on the keyboard and sent this email out prematurely. Please disregard. Thank you. Sincerely, Ewen From: users on behalf of Ewen Chan via users Sent: July 25

[OMPI users] bash: orted: command not found -- ran through the FAQ already

2019-07-25 Thread Ewen Chan via users
permutatively). The two nodes can ping each other, back and forth, also permutatively as well. I'm at a loss as to why I need to specify the absolute path to mpirun despite having everything else set up and to me, it looks like that I've set everything else up corr

[OMPI users] Question about OpenMPI paths

2019-07-25 Thread Ewen Chan via users
To Whom It May Concern: I am trying to run Converge CFD by Converge Science using OpenMPI in CentOS 7.6.1810 x86_64 and I am getting the error: bash: orted: command not found I've already read the FAQ: https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path Here's my system setup,

Re: [OMPI users] Suggestion to add one thing to look/check for when running OpenMPI program

2019-01-09 Thread Ewen Chan
stion; thank you! > On Jan 8, 2019, at 9:44 PM, Ewen Chan wrote: > > To Whom It May Concern: > > Hello. I'm new here and I got here via OpenFOAM. > > In the FAQ regarding running OpenMPI programs, specifically where someone > might be able to run their OpenMPI program

[OMPI users] Suggestion to add one thing to look/check for when running OpenMPI program

2019-01-08 Thread Ewen Chan
t was trying to ennumerate the ECDSA key to ~/.ssh/known_hosts and that prompt was preventing OpenFOAM from running on my multi-node cluster. Thank you. Sincerely, Ewen Chan ___ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/ma

[OMPI users] Problem with connecting to 3 or more nodes

2015-01-16 Thread Chan, Elbert
rong? What can I look at to see where my problem could be? Elbert -- **** Elbert Chan Operating Systems Analyst College of ECC CSU, Chico 530-898-6481

Re: [OMPI users] OpenMPI causing WRF to crash

2011-08-04 Thread Anthony Chan
If you want to debug this on BGP, you could set BG_COREDUMPONERROR=1 and look at the backtrace in the light weight core files (you probably need to recompile everything with -g). A.Chan - Original Message - > Hi Dmitry, > Thanks for a prompt and fairly detailed response. I have also > fo

Re: [OMPI users] parallel with parallel of wie2k code

2011-01-14 Thread Anthony Chan
Hi lagoun, The error message looks like from MPICH2. Actually, it seems the code was linked with mpich2 library but was compiled with mpich-1 header file. You should use MPI wrappers, i.e mpicc/mpif90..., provided by your chosen MPI implementation. A.Chan - Original Message - > These d

Re: [OMPI users] MPE logging GUI

2010-07-19 Thread Anthony Chan
Just curious, is there any reason you are looking for another tool to view slog2 file ? A.Chan - "Stefan Kuhne" wrote: > Hello, > > does anybody know another tool as jumpstart to view a MPE logging > file? > > Regards, > Stefan Kuhne > > > __

Re: [OMPI users] Fortran - MPI_WORLD_COMM

2010-06-22 Thread Anthony Chan
I don't think you can declare a function with a fortran parameter: subroutine testsubr(MPI_COMM_WORLD,ireadok) 1) If you've already included mpif.h with in testsubr(), you don't need the 1st argument above. 2) If you don't have mpif.h in testsubr(), the 1st argument could be MPI_comm. In

Re: [OMPI users] Fortran - MPI_WORLD_COMM

2010-06-22 Thread chan
MPI_COMM_WORLD is defined by a parameter statement, so it is a fortran contant. The following f77 program fails to compile. > cat ts_param.f Program test integer mm parameter (mm = 9) common /cmblk/ mm end > gfortran ts_param.f ts_param.f:4.23: common /cmblk/

Re: [OMPI users] Installing MPE on existing Open-MPI installation for C++ programs

2010-04-12 Thread chan
Try using "mpecc -mpicc=" to compile your C++ program. "mpicc -mpilog" is only available in the MPICH (not MPICH2 which provides mpicc -mpe=mpilog). Non-MPICH(2) based implementation needs to use mpecc instead to enable MPE. A.Chan - "Ridhi Dua" wrote: > Hello, > I have successfully insta

Re: [OMPI users] MPI_Init() and MPI_Init_thread()

2010-03-09 Thread chan
Using funneled will make your code more portable in the long run as it is guaranteed by the MPI standard. Using single, i.e. MPI_Init, is working now for typical OpenMP+MPI program that MPI calls are outside OpenMP sections. But as MPI implementations implement more performance optimized feature

Re: [OMPI users] MPI_Init() and MPI_Init_thread()

2010-03-04 Thread Anthony Chan
- "Yuanyuan ZHANG" wrote: > For an OpenMP/MPI hybrid program, if I only want to make MPI calls > using the main thread, ie., only in between parallel sections, can I just > use SINGLE or MPI_Init? If your MPI calls is NOT within OpenMP directives, MPI does not even know you are using thre

Re: [OMPI users] Compilig CG.W.8 benchmark

2010-01-12 Thread chan
To compile fortran application with MPE, you need Fortran to C wrapper library, e.g. libmpe_f2cmpi.a or the one that comes with OpenMPI. Your link command should contain at least the following mpif77 -o cg_log cg.f -lmpe_f2cmpi -llmpe -lmpe. To simplify the process, the recommended way to enabl

Re: [OMPI users] PGI 10.0 configure fails (OMPI 1.3.3)

2009-11-24 Thread chan
- "Scott Beardsley" wrote: > #include > int main () > { > struct foo {int a, b;}; size_t offset = offsetof(struct foo, b); >   return 0; > } > > $ pgcc conftest.c > PGC-S-0037-Syntax error: Recovery attempted by deleting keyword > struct > (conftest.c: 4) > PGC-S-0039-Use of undeclared vari

Re: [OMPI users] profile the performance of a MPI code: how much traffic is being generated?

2009-09-30 Thread Anthony Chan
know how it goes. A.Chan - "Rahul Nabar" wrote: > On Tue, Sep 29, 2009 at 1:33 PM, Anthony Chan > wrote: > > > > Rahul, > > > > > > > What errors did you see when compiling MPE for OpenMPI ? > > Can you send me the configure and

Re: [OMPI users] profile the performance of a MPI code: how much traffic is being generated?

2009-09-29 Thread Anthony Chan
Rahul, - "Rahul Nabar" wrote: > Post mortem profilers would be the next best option I assume. > I was trying to compile MPE but gave up. Too many errors. Trying to > decide if I should prod on or look at another tool. What errors did you see when compiling MPE for OpenMPI ? Can you send me

Re: [OMPI users] Issue with Profiling Fortran code

2008-12-05 Thread Anthony Chan
Hi George, - "George Bosilca" wrote: > On Dec 5, 2008, at 03:16 , Anthony Chan wrote: > > > void mpi_comm_rank_(MPI_Comm *comm, int *rank, int *info) { > >printf("mpi_comm_rank call successfully intercepted\n"); > >*info = PMPI_Comm_ra

Re: [OMPI users] Issue with Profiling Fortran code

2008-12-05 Thread Anthony Chan
its not portable to other MPI's that do > >> implement the profiling layer correctly unfortunately. > >> > >> I guess we will just need to detect that we are using openmpi when > our > >> tool is configured and add some macros to deal with that > acco

Re: [OMPI users] Issue with Profiling Fortran code

2008-12-05 Thread Anthony Chan
pi.* should get you covered for most platforms. A.Chan > > Thanks > > Nick. > > Anthony Chan wrote: > > Hope I didn't misunderstand your question. If you implement > > your profiling library in C where you do your real instrumentation, > > you don'

Re: [OMPI users] Issue with Profiling Fortran code

2008-12-05 Thread Anthony Chan
Hope I didn't misunderstand your question. If you implement your profiling library in C where you do your real instrumentation, you don't need to implement the fortran layer, you can simply link with Fortran to C MPI wrapper library -lmpi_f77. i.e. /bin/mpif77 -o foo foo.f -L/lib -lmpi_f77 -lYou

Re: [OMPI users] Performance: MPICH2 vs OpenMPI

2008-10-09 Thread Anthony Chan
- "Brian Dobbins" wrote: > OpenMPI : 120m 6s > MPICH2 : 67m 44s > > That seems to indicate that something else is going on -- with -np 1, > there should be no MPI communication, right? I wonder if the memory > allocator performance is coming into play here. If the app sends message to its

[OMPI users] Terminating processes started by MPI_Comm_spawn

2008-07-01 Thread Keith Chan
Hi all, Say I've created a number of child processes using MPI_Comm_spawn: int num_workers = 5; MPI_Comm workers; MPI_Comm_spawn("./worker", MPI_ARGV_NULL, num_workers, MPI_INFO_NULL, 0, MPI_COMM_SELF, &workers, MPI_ERRCODES_IGNORE); If for some reason I needed to terminate the worker child

Re: [OMPI users] MPE

2008-05-07 Thread Anthony Chan
MPE is not part of OMPI. You can download MPE from http://www.mcs.anl.gov/perfvis (the latest is the beta at ftp://ftp.mcs.anl.gov/pub/mpi/mpe/beta/mpe2-1.0.7rc3.tar.gz) Then follow the INSTALL and install MPE for OMPI. A.Chan - "Alberto Giannetti" wrote: > Is MPE part of OMPI? I can't fi

Re: [OMPI users] [Fwd: MPI question/problem] including code attachments

2007-06-21 Thread Anthony Chan
1.2.3 and the program finishes normally on this multicore Ubuntu box. A.Chan On Thu, 21 Jun 2007, [ISO-8859-1] ?ke Sandgren wrote: > On Thu, 2007-06-21 at 13:27 -0500, Anthony Chan wrote: > > It seems the hang only occurs when OpenMPI is built with > > --enable-mpi-threads --ena

Re: [OMPI users] [Fwd: MPI question/problem] including code attachments

2007-06-21 Thread Anthony Chan
2007, Anthony Chan wrote: > With OpenMPI: > > ~/openmpi/install_linux64_123_gcc4_thd/bin/mpiexec -n 2 a.out > ... > [octagon.mcs.anl.gov:23279] *** An error occurred in MPI_Comm_rank > [octagon.mcs.anl.gov:23279] *** on communicator MPI_COMM_WORLD > [octagon.mcs.anl.gov:23279]

Re: [OMPI users] [Fwd: MPI question/problem] including code attachments

2007-06-21 Thread Anthony Chan
nter_comm ); } /* new line */ With above modification and MPI_Finalize in the main(). I was able to run the program with OpenMPI (as well as mpich2). Hope this helps. A.Chan On Thu, 21 Jun 2007, Anthony Chan wrote: > > Hi George, > > Just out of curiosity, what version of OpenMPI tha

Re: [OMPI users] [Fwd: MPI question/problem] including code attachments

2007-06-21 Thread Anthony Chan
ov:23279] *** MPI_ERRORS_ARE_FATAL (goodbye) OpenMPI hangs at abort that I need to kill the mpiexec process by hand. You can reproduce the hang with the following test program with OpenMPI-1.2.3. /homes/chan/tmp/tmp6> cat test_comm_rank.c #include #include "mpi.h" int main( int argc, cha

Re: [OMPI users] how to identify openmpi in configure script

2007-06-08 Thread Anthony Chan
On Fri, 8 Jun 2007, Jeff Squyres wrote: > Would it be helpful if we provided some way to link in all the MPI > language bindings? > > Examples off the top of my head (haven't thought any of these through): > > - mpicxx_all ... > - setenv OMPI_WRAPPER_WANT_ALL_LANGUAGE_BINDINGS >mpicxx ... >

Re: [OMPI users] how to identify openmpi in configure script

2007-06-05 Thread Anthony Chan
Never tried this myself, but this test could work AC_COMPILE_IFELSE( [ AC_LANG_PROGRAM( [ #include "mpi.h" ], [ #if defined( OPEN_MPI ) return 0; #else #error #endif ] ) ], [ mpi_is_openmpi=yes ], [ mpi_is_openmpi=no ] ) A.Chan On Tue, 5 Jun 2007, Lie-Quan Lee wrote:

Re: [OMPI users] compiling mpptest using OpenMPI

2007-02-15 Thread Anthony Chan
As long as mpicc is working, try configuring mpptest as mpptest/configure MPICC=/bin/mpicc or mpptest/configure --with-mpich= A.Chan On Thu, 15 Feb 2007, Eric Thibodeau wrote: > Hi Jeff, > > Thanks for your response, I eventually figured it out, here is the > only way I got mpptest to

Re: [OMPI users] OpenMPE build failure

2006-12-06 Thread Anthony Chan
On Wed, 6 Dec 2006, Ryan Thompson wrote: > Hi Anthony, > > I made some progress, however, I still get the same trace_API.h > error, although I'm not certain if it is important. trace_sample is a sample TRACE-API implementation for SLOG2, e.g. for people who write their own trace and to generate

Re: [OMPI users] OpenMPE build failure

2006-12-05 Thread Anthony Chan
On Tue, 5 Dec 2006, Ryan Thompson wrote: > I'm attempting to build MPE without success. When I try to make it, I > recieve the error: > > trace_input.c:23:23: error: trace_API.h: No such file or directory I just built the related mpe2's subpackage, slog2sdk, on a AMD64 (Ubuntu 6.06.1) with gcc-

Re: [O-MPI users] mpirun --prefix

2006-01-04 Thread Anthony Chan
nt. The change should make things easier for typical MPI users. Thanks, A.Chan > > > On Nov 22, 2005, at 12:20 PM, Anthony Chan wrote: > > > > > This is not a bug just wonder if this can be improved. I have been > > running openmpi linked program with command

Re: [O-MPI users] Performance of all-to-all on Gbit Ethernet

2006-01-04 Thread Anthony Chan
On Wed, 4 Jan 2006, Carsten Kutzner wrote: > On Tue, 3 Jan 2006, Anthony Chan wrote: > > > MPE/MPE2 logging (or clog/clog2) does not impose any limitation on the > > number of processes. Could you explain what difficulty or error > > message you encountered

Re: [O-MPI users] Performance of all-to-all on Gbit Ethernet

2006-01-03 Thread Anthony Chan
On Tue, 3 Jan 2006, Carsten Kutzner wrote: > On Tue, 3 Jan 2006, Graham E Fagg wrote: > > > Do you have any tools such as Vampir (or its Intel equivalent) available > > to get a time line graph ? (even jumpshot of one of the bad cases such as > > the 128/32 for 256 floats below would help). > > H

[O-MPI users] mpirun --prefix

2005-11-22 Thread Anthony Chan
This is not a bug just wonder if this can be improved. I have been running openmpi linked program with command /bin/mpirun --prefix \ --host A -np N a.out My understanding is that --prefix allows extra search path in addition to PATH and LD_LIBRARY_PATH, corre

Re: [O-MPI users] MPI_F_STATUS(ES)_IGNORE

2005-11-22 Thread Anthony Chan
that Open MPI was > configured with. > >You can use the ompi_info command to see the Fortran compiler that >Open MPI was configured with. > - > > > On Nov 22, 2005, at 12:49 AM, Anthony Chan wrote: > > > > > Hi > > > > Linking the

[O-MPI users] MPI_F_STATUS(ES)_IGNORE

2005-11-22 Thread Anthony Chan
Hi Linking the following program with mpicc from openmpi-1.0 compiled with gcc-4.0 on a IA32 linux box * #include #include "mpi.h" int main() { int argc; char **argv; MPI_Fint *f_status; ; MPI_Init(&argc, &argv); f_status = MPI_F_STATUS