kevin.buck...@ecs.vuw.ac.nz writes:

> Cc: to the OpenMPI list as the oftdump clash might be of interest
> elsewhere.
>
>> I attach a patch, but it doesn't work and I don't see where the
>> error lies now. It may be that I'm doing something stupid.
>> It produces working OpenMPI-1.3.4 package on Dragonfly though.
>
> Ok, I'll try and merge it in to the working stuff we have here.
> I, obviously, just #ifdef'd for NetBSD as that is all I have to
> try stuff out against.

No need for that actually, we can do it later.
I was using Dragonfly as platform where it works out of box.

>> Kevin, I've tried your chunk but it doesn't make any better.
>> Do you really have working OpenMPI on NetBSD?
>
> Oh yes!
>
> I have placed the tar of current patches from our PkgSrc build in
>
> http://www.ecs.vuw.ac.nz/~kevin/forMPI/openmpi-1.3.4-20091208-netbsd.tar.gz
>
> in case you want to try something out from an actual NetBSD build.

I'm looking at your patches now.

>> (What conflict do you observe with pkgsrc-wip package by the way?)
>>
>
> That was detailed in another email but basically the Open Trace Format
> that the Vampire Trace (VT) stuff is looking to install tries to install:
>
> ${LOCALBASE}/bin/otfdump
>
> and that binary is already installed there as part of another
> package.
>
> You can get around this for a NetBSD OpenMPI deployment by adding this
> patch to the PkgSrc Makefile which just removes the VT toolkit:
>
>
> 26a27
>> CONFIGURE_ARGS+=      --enable-contrib-no-build=vt
>
> I have no idea how NetBSD go about resolving such clashes in the long
> term though?

I've disabled it the same way for this time, my local package differs
from what's in wip:

--- PLIST       3 Dec 2009 10:18:00 -0000       1.5
+++ PLIST       9 Dec 2009 08:29:31 -0000
@@ -1,17 +1,11 @@
 @comment $NetBSD$
 bin/mpiCC
-bin/mpiCC-vt
 bin/mpic++
-bin/mpic++-vt
 bin/mpicc
-bin/mpicc-vt
 bin/mpicxx
-bin/mpicxx-vt
 bin/mpiexec
 bin/mpif77
-bin/mpif77-vt
 bin/mpif90
-bin/mpif90-vt
 bin/mpirun
 bin/ompi-checkpoint
 bin/ompi-clean
@@ -21,28 +15,11 @@
 bin/ompi-server
 bin/ompi_info
 bin/opal_wrapper
-bin/opari
 bin/orte-clean
 bin/orte-iof
 bin/orte-ps
 bin/orted
 bin/orterun
-bin/otfaux
-bin/otfcompress
-bin/otfconfig
-bin/otfdecompress
-bin/otfdump
-bin/otfinfo
-bin/otfmerge
-bin/vtcc
-bin/vtcxx
-bin/vtf77
-bin/vtf90
-bin/vtfilter
-bin/vtunify
-etc/openmpi-default-hostfile
-etc/openmpi-mca-params.conf
-etc/openmpi-totalview.tcl
 include/mpi.h
 include/mpif-common.h
 include/mpif-config.h
@@ -79,40 +56,12 @@
 include/openmpi/ompi/mpi/cxx/topology_inln.h
 include/openmpi/ompi/mpi/cxx/win.h
 include/openmpi/ompi/mpi/cxx/win_inln.h
-include/vampirtrace/OTF_CopyHandler.h
-include/vampirtrace/OTF_Definitions.h
-include/vampirtrace/OTF_File.h
-include/vampirtrace/OTF_FileManager.h
-include/vampirtrace/OTF_Filenames.h
-include/vampirtrace/OTF_HandlerArray.h
-include/vampirtrace/OTF_MasterControl.h
-include/vampirtrace/OTF_RBuffer.h
-include/vampirtrace/OTF_RStream.h
-include/vampirtrace/OTF_Reader.h
-include/vampirtrace/OTF_WBuffer.h
-include/vampirtrace/OTF_WStream.h
-include/vampirtrace/OTF_Writer.h
-include/vampirtrace/OTF_inttypes.h
-include/vampirtrace/OTF_inttypes_unix.h
-include/vampirtrace/opari_omp.h
-include/vampirtrace/otf.h
-include/vampirtrace/pomp_lib.h
-include/vampirtrace/vt_user.h
-include/vampirtrace/vt_user.inc
-include/vampirtrace/vt_user_comment.h
-include/vampirtrace/vt_user_comment.inc
-include/vampirtrace/vt_user_count.h
-include/vampirtrace/vt_user_count.inc
 lib/libmca_common_sm.la
 lib/libmpi.la
 lib/libmpi_cxx.la
 lib/libmpi_f77.la
 lib/libopen-pal.la
 lib/libopen-rte.la
-lib/libotf.la
-lib/libvt.a
-lib/libvt.fmpi.a
-lib/libvt.mpi.a
 lib/openmpi/libompi_dbg_msgq.la
 lib/openmpi/mca_allocator_basic.la
 lib/openmpi/mca_allocator_bucket.la
@@ -503,6 +452,9 @@
 man/man7/orte_hosts.7
 man/man7/orte_snapc.7
 share/openmpi/amca-param-sets/example.conf
+share/openmpi/examples/openmpi-default-hostfile
+share/openmpi/examples/openmpi-mca-params.conf
+share/openmpi/examples/openmpi-totalview.tcl
 share/openmpi/help-coll-sync.txt
 share/openmpi/help-dash-host.txt
 share/openmpi/help-ess-base.txt
@@ -548,36 +500,9 @@
 share/openmpi/help-plm-rsh.txt
 share/openmpi/help-ras-base.txt
 share/openmpi/help-rmaps_rank_file.txt
-share/openmpi/mpiCC-vt-wrapper-data.txt
 share/openmpi/mpiCC-wrapper-data.txt
-share/openmpi/mpic++-vt-wrapper-data.txt
 share/openmpi/mpic++-wrapper-data.txt
-share/openmpi/mpicc-vt-wrapper-data.txt
 share/openmpi/mpicc-wrapper-data.txt
-share/openmpi/mpicxx-vt-wrapper-data.txt
 share/openmpi/mpicxx-wrapper-data.txt
-share/openmpi/mpif77-vt-wrapper-data.txt
 share/openmpi/mpif77-wrapper-data.txt
-share/openmpi/mpif90-vt-wrapper-data.txt
 share/openmpi/mpif90-wrapper-data.txt
-share/vampirtrace/FILTER.SPEC
-share/vampirtrace/GROUPS.SPEC
-share/vampirtrace/METRICS.SPEC
-share/vampirtrace/doc/ChangeLog
-share/vampirtrace/doc/LICENSE
-share/vampirtrace/doc/UserManual.html
-share/vampirtrace/doc/UserManual.pdf
-share/vampirtrace/doc/opari/ChangeLog
-share/vampirtrace/doc/opari/LICENSE
-share/vampirtrace/doc/opari/Readme.html
-share/vampirtrace/doc/opari/lacsi01.pdf
-share/vampirtrace/doc/opari/lacsi01.ps.gz
-share/vampirtrace/doc/opari/opari-logo-100.gif
-share/vampirtrace/doc/otf/ChangeLog
-share/vampirtrace/doc/otf/LICENSE
-share/vampirtrace/doc/otf/otftools.pdf
-share/vampirtrace/doc/otf/specification.pdf
-share/vampirtrace/vtcc-wrapper-data.txt
-share/vampirtrace/vtcxx-wrapper-data.txt
-share/vampirtrace/vtf77-wrapper-data.txt
-share/vampirtrace/vtf90-wrapper-data.txt


I can commit my development patches into wip right now,
if that helps you.

Some patches should be there anyway, since OpenMPI doesn't help with
installation of configuration files into example directory anyway.


-- 
HE CE3OH...

Reply via email to