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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id C4FA5BBAF for ; Fri, 14 Aug 2009 19:37:41 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnUCAJs9hUrRVcbikGdsb2JhbACaMj8BAQEBCQkMBxMDpXGBI5EIAQMCBIQVBYFN X-IronPort-AV: E=Sophos;i="4.43,381,1246831200"; d="scan'208";a="34407166" Received: from rv-out-0506.google.com ([209.85.198.226]) by mail1-smtp-roc.national.inria.fr with ESMTP; 14 Aug 2009 19:37:41 +0200 Received: by rv-out-0506.google.com with SMTP id b25so464053rvf.3 for ; Fri, 14 Aug 2009 10:37:39 -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:date :message-id:user-agent:mime-version:content-type; bh=03XG699f0K2j8omAlDxAeWgC3Yu2eN6kNFnL5d5CPj0=; b=SCJdpW3uadTKjMAc86R9GAmZTwXiqld6j8XBr0u/XQnWoDV/cldemiSe/HHyUFde6L DkUsPcDswj/24L0MTNv9nxxLSCxQvEpLnKZ4AFm1k36WQo7AvrsYtyGPn3ozwenGhP1D R7XvZuU4zqKfXtRa9vuh1/Egl3FBTGbhF8Wd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=ILybrCDjXWerYz1BbEhg1uC/k9rKYzMedq5M3bto8P1DsSARN9hb+eCTCbPukqN3LC QyIQoH0tXG8EB+yMNdXkedVA9hDKzUsSUwameVkbl7q4D5LiZD7Pa6U+L3OqKKtJhlLc PPy1hHc7PKvknAoZDsGq7G08yLkXspGQGreyM= Received: by 10.140.141.16 with SMTP id o16mr1092341rvd.4.1250271459805; Fri, 14 Aug 2009 10:37:39 -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 g31sm10436469rvb.36.2009.08.14.10.37.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 Aug 2009 10:37:38 -0700 (PDT) From: "Eric Schulte" To: caml-list@yquem.inria.fr Subject: OCamlMPI Problems Date: 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 makefile:01 segfaults:01 ocamlmpi:01 ocamlc:01 interprete:01 node:01 exited:01 1.01:98 1.01:98 fp-:98 threads:01 unix:01 compile:01 caml-list:01 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).