From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=DNS_FROM_RFC_POST,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id A0BF1BBAF for ; Sat, 15 Aug 2009 02:26:33 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkkCAO6dhUrRVcbvkGdsb2JhbACaNj8BAQEBCQkMBxMDpTSBI5BuAQMCBIQVBYFN X-IronPort-AV: E=Sophos;i="4.43,383,1246831200"; d="scan'208";a="31162531" Received: from rv-out-0506.google.com ([209.85.198.239]) by mail2-smtp-roc.national.inria.fr with ESMTP; 15 Aug 2009 02:26:24 +0200 Received: by rv-out-0506.google.com with SMTP id b25so502986rvf.3 for ; Fri, 14 Aug 2009 17:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=vDGc7NMa5AUjQ3vXfsCYqFe9kWPjO+JHMujZGlmYOSI=; b=AqPDhVuL+xg+OSlD/slh6Q77huCmhz7KyWxUsrO40rM3u4knVermdsIXPYyAWVF8Bp 816sQDBMw/KLRbXpNfOzbFS/IYabIL/xe+2geNehV9yadIkTPDzgo+YXPBiLH0/uNRsO O32ijfTn+ih5UHhyFAm9DygAshkDa+qPy+wS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; b=x/t1YKaWFoGAhlI1C5w525es434ADKZoL0R2t2Tuy1Y5MtRS3Arqb5ggrI+K2xwQ0t RNAYIyGtapU3crY+ce27k1DFM3Q5d/dHNBlRYHiG6zvlWZtpQdiw3r/BR++eqlfRxpyR WW2MkR+kI9E413Nj8RGcdXKFFr16rgHpsJDCk= Received: by 10.141.45.1 with SMTP id x1mr1307297rvj.141.1250295983662; Fri, 14 Aug 2009 17:26:23 -0700 (PDT) Received: from eschulte (c-68-35-110-123.hsd1.nm.comcast.net [68.35.110.123]) by mx.google.com with ESMTPS id f42sm1443263rvb.5.2009.08.14.17.26.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 Aug 2009 17:26:22 -0700 (PDT) From: "Eric Schulte" To: caml-list@yquem.inria.fr Subject: Re: OCamlMPI Problems References: Date: Fri, 14 Aug 2009 18:26:20 -0600 In-Reply-To: (Eric Schulte's message of "Fri, 14 Aug 2009 11:36:46 -0600") Message-ID: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam: no; 0.00; ocamlmpi:01 initialized:01 makefile:01 segfaults:01 ocamlmpi:01 ocamlc:01 interprete:01 node:01 exited:01 1.01:98 goodbye:98 1.01:98 fp-:98 threads:01 unix:01 To update, After replacing mpich2-1.1.1p1 with mpich-1.2.7p1 (which built with no errors, and passes all of it's own tests) then re-building ocaml-mpi, I've successfully generated a new slightly less intimidating but still intractable error [1]. Any suggestions are greatly appreciated. Thanks -- Eric Footnotes: [1] ( ~/src/ocamlmpi-1.01 ) mpirun testmpi *** An error occurred in MPI_Keyval_create *** before MPI was initialized *** MPI_ERRORS_ARE_FATAL (goodbye) [eschulte.local:96689] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! "Eric Schulte" writes: > Hi, > > I've been trying to install ocamlmpi-1.01 with mpich2-1.1.1p1 on a Mac. > > I've followed the helpful instructions found in previous email threads > on this list (specifically here [1]). However after successfully > installing mpich2 and making the changes to my Makefile, although I am > able to compile the testmpi executable with the following [2], > attempting to run the resulting executable segfaults [3]. > > Does anyone have any suggestions, or an idea of if this problem is most > likely in my configuration of OCamlMPI, or possibly in my mpich2 > instillation? > > Thanks -- Eric > > Footnotes: > [1] http://caml.inria.fr/pub/ml-archives/caml-list/2007/10/3e20fe358a148af4095eba48e32c338e.en.html > > [2] > ( ~/src/ocamlmpi-1.01 ) ocamlc -cc mpicc -o testmpi unix.cma mpi.cma test.ml -ccopt -L > File "test.ml", line 144, characters 6-9: > Warning Y: unused variable res. > > [3] > ( ~/src/ocamlmpi-1.01 ) mpiexec -n 1 testmpi > [eschulte:02147] *** Process received signal *** > [eschulte:02147] Signal: Segmentation fault (11) > [eschulte:02147] Signal code: Address not mapped (1) > [eschulte:02147] Failing at address: 0x44000088 > [ 1] [0xbfffef68, 0x44000088] (-P-) > [ 2] (caml_mpi_init + 0x91) [0xbfffef98, 0x00001b6e] > [ 3] (caml_interprete + 0x1861) [0xbffff168, 0x000097c8] > [ 4] (caml_main + 0x3ac) [0xbffff1d8, 0x0000b4ee] > [ 5] (main + 0x11) [0xbffff1f8, 0x0000b6b5] > [ 6] (start + 0x36) [0xbffff214, 0x00001a32] > [ 7] [0x00000000, 0x00000001] (FP-) > [eschulte:02147] *** End of error message *** > mpiexec noticed that job rank 0 with PID 2147 on node eschulte.local exited on signal 11 (Segmentation fault).