Opened 11 years ago

Closed 16 months ago

#39812 closed defect (fixed)

tests for scotch 6.0.0 are failing

Reported by: mkae (Marko Käning) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: wimmer@…, petrrr, catap (Kirill A. Korinsky)
Port: scotch

Description

Scotch 6.0.0 builds fine, but this is what I get on Snow Leopard if I enable the tests by commenting and uncommenting the corresponding lines with "build.target" in scotch's to-be-published Portfile-patch for version 6.0.0:

:info:build make CFLAGS="-O3 -Drestrict=__restrict -DCOMMON_PTHREAD -DCOMMON_PTHREAD_BARRIER -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_PTSCOTCH" CC="/opt/local/bin/openmpicc" SCOTCHLIBS="-lptscotch -lscotch -lptscotcherr" check_strat_par check_scotch_dgraph_band check_scotch_dgraph_grow check_scotch_dgraph_redist
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_Users_marko_WC_SVN_MacPorts_science_scotch/scotch/work/scotch_6.0.0/src/check'
:info:build /opt/local/bin/openmpicc -O3 -Drestrict=__restrict -DCOMMON_PTHREAD -DCOMMON_PTHREAD_BARRIER -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_PTSCOTCH -I../../include -L../../lib test_strat_par.c -o test_strat_par -lptscotch -lscotch -lptscotcherr -lm
:info:build ./test_strat_par
:info:build Parallel mapping strategy, SCOTCH_STRATDEFAULT
:info:build Parallel mapping strategy, SCOTCH_STRATRECURSIVE
:info:build Parallel ordering strategy, SCOTCH_STRATDEFAULT
:info:build Parallel ordering strategy, SCOTCH_STRATLEVELMAX
:info:build Parallel ordering strategy, SCOTCH_STRATLEVELMIN
:info:build Parallel ordering strategy, SCOTCH_STRATLEVELMAX | SCOTCH_STRATLEVELMIN
:info:build Parallel ordering strategy, SCOTCH_STRATLEAFSIMPLE
:info:build Parallel ordering strategy, SCOTCH_STRATSEPASIMPLE
:info:build /opt/local/bin/openmpicc -O3 -Drestrict=__restrict -DCOMMON_PTHREAD -DCOMMON_PTHREAD_BARRIER -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_PTSCOTCH -I../../include -L../../lib test_scotch_dgraph_band.c -o test_scotch_dgraph_band -lptscotch -lscotch -lptscotcherr -lm
:info:build openmpirun -n 4 ./test_scotch_dgraph_band data/bump.grf
:info:build ./test_scotch_dgraph_band(0): ERROR: main: Cannot initialize (2)
:info:build ./test_scotch_dgraph_band(1): ERROR: main: Cannot initialize (2)
:info:build ./test_scotch_dgraph_band(2): ERROR: main: Cannot initialize (2)
:info:build ./test_scotch_dgraph_band(3): ERROR: main: Cannot initialize (2)
:info:build --------------------------------------------------------------------------
:info:build openmpirun has exited due to process rank 3 with PID 23992 on
:info:build node markos-imac exiting improperly. There are three reasons this could occur:
:info:build
:info:build 1. this process did not call "init" before exiting, but others in
:info:build the job did. This can cause a job to hang indefinitely while it waits
:info:build for all processes to call "init". By rule, if one process calls "init",
:info:build then ALL processes must call "init" prior to termination.
:info:build
:info:build 2. this process called "init", but exited without calling "finalize".
:info:build By rule, all processes that call "init" MUST call "finalize" prior to
:info:build exiting or it will be considered an "abnormal termination"
:info:build
:info:build 3. this process called "MPI_Abort" or "orte_abort" and the mca parameter
:info:build orte_create_session_dirs is set to false. In this case, the run-time cannot
:info:build detect that the abort call was an abnormal termination. Hence, the only
:info:build error message you will receive is this one.
:info:build
:info:build This may have caused other processes in the application to be
:info:build terminated by signals sent by openmpirun (as reported here).
:info:build
:info:build You can avoid this message by specifying -quiet on the openmpirun command line.
:info:build
:info:build --------------------------------------------------------------------------
:info:build make[2]: *** [check_scotch_dgraph_band] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Users_marko_WC_SVN_MacPorts_science_scotch/scotch/work/scotch_6.0.0/src/check'
:info:build make[1]: *** [ptcheck] Error 2

Change History (6)

comment:1 Changed 11 years ago by mkae (Marko Käning)

Cc: Peter.Danecek@… wimmer@… added

comment:2 Changed 11 years ago by mkae (Marko Käning)

See #39813 for the portfile diff to get version 6.0.0 to build.

comment:3 Changed 8 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 8 years ago by petrrr

Cc: Peter.Danecek@… removed

comment:5 Changed 16 months ago by catap (Kirill A. Korinsky)

Cc: catap added

comment:6 Changed 16 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: newclosed

In 8af09a3558b46007f31d3c8dd4e1eba936bfd0a6/macports-ports (master):

scotch: fix tests

Closes: #39812

Note: See TracTickets for help on using tickets.