Hi Ken, all,

First, the major bits:

>From my tests so far there is mostly a green light, I have been able to 
>goolf-build:
* HPL-2.0-goolf-1.4.10.eb
* OpenFOAM-2.1.1-goolf-1.4.10.eb
* WRF-3.3.1-goolf-1.4.10-dmpar.eb
* petsc4py-3.3-goolf-1.4.10-Python-2.7.3.eb

On the downside, I had to fiddle with 'DOLFIN-1.0.0_GCC-4.7.patch' w/out 
success, 
since DOLFIN failed for me at the very last step (ie. its dependencies seem 
fine).
See below for some info - I may not have time to debug this today, really.

What is more of a feature than a bug is, that the robot now kicks-in 
automagically
(-r parameter); to be honest, I like that and, it saves my day... let's keep it 
so :-)
(is it a default config parameter perhaps? haven't searched into it, as of yet)

On Mar 30, 2013, at 5:27 PM, Kenneth Hoste wrote:
> Let me correct myself here: I had to tag a v1.3.0rc2 for easyblocks as well 
> just now, otherwise the dependency check on easyblocks performed by the 
> easyconfigs setup.py fails hard.

OK, I think the idea that flew somewhere to release them as a single tarball,
makes a lot of sense: let's not propagate this artificial repo fragmentation
at the release milestone (I've never been too much in favor of a repo split,
because we still need to test the 3 collections in sync-step, for coherence).

Operationally, I think we do the right thing just not in the obvious way.
fyi. Git has some kind of facility for sub-repos, I think that if it provides a 
hash
that spans the 3 collections, that makes a lot of sense to have: 1 hash per 
release.

> ps2. we have quite a few lib* packages that ended up in "devel" category... 
> let's fix it?
> Which ones? Can you open a PR to the v1.3.0.x branch to fix them?

https://github.com/hpcugent/easybuild-easyconfigs/pull/197

That PR is against "develop", but I suggest you guys have a quick look
if you are happy with the current moduleclass categorization; (esp. for lib*)
I am sure you will find some things you would rather like to tweak a bit.

cheers,
Fotis


=== about DOLFIN

# with DOLFIN-1.0.0_GCC-4.7.patch

it bails out with:

== 2013-03-31 13:20:59,904 main.filetools ERROR EasyBuild crashed with an error 
(at easybuild/tools/filetools.py:307 in apply_patch): Can't determine patch 
level for patch 
/opt/apps/default/software/easybuild/1.3.0rc2/lib/python2.6/site-packages/easybuild_easyconfigs-1.3.0.0rc2-py2.6.egg/easybuild/easyconfigs/d/DOLFIN/DOLFIN-1.0.0_GCC-4.7.patch
 from directory /tmp/DOLFIN/1.0.0/goolf-1.4.10-Python-2.7.3/dolfin-1.0.0

# without DOLFIN-1.0.0_GCC-4.7.patch

the following is visible in the -ld output:

[...]
-- Checking for package 'BLAS'
-- [ 
/mnt/nfs/users/homedirs/fgeorgatos/.local/easybuild/software/CMake/2.8.4-goolf-1.4.10/share/cmake-2.8/Modules/FindBoost.cmake:454
 ] boost 1.49.0 is already in the cache.  To
-- Performing Test MTL4_TEST_RUNS
-- Performing Test MTL4_TEST_RUNS - Success
-- Found MTL4: /opt/apps/HPCBIOS.20130301/software/MTL4/4.0.8878/include
-- Checking for package 'PETSc'
-- PETSC_DIR is 
/home/users/fgeorgatos/.local/easybuild/software/PETSc/3.3-p2-goolf-1.4.10-Python-2.7.3
-- PETSC_ARCH is empty
-- Found petscconf.h
-- PETSC_LIB 
-L/home/users/fgeorgatos/.local/easybuild/software/PETSc/3.3-p2-goolf-1.4.10-Python-2.7.3/lib
 -L/home/users/fgeorgatos/.local/easybuild/software/PETSc/3.3-p2-goolf-1.
-- Unable to find library openblas
-- Unable to find library gfortran
-- PETSC_LIBRARIES 
/home/users/fgeorgatos/.local/easybuild/software/PETSc/3.3-p2-goolf-1.4.10-Python-2.7.3/lib/libpetsc.a;/home/users/fgeorgatos/.local/easybuild/software/ParMETIS
-- Performing Test PETSC_TEST_RUNS
-- Performing Test PETSC_TEST_RUNS - Success
-- PETSc test runs
-- Found PETSc: 
/home/users/fgeorgatos/.local/easybuild/software/PETSc/3.3-p2-goolf-1.4.10-Python-2.7.3/lib/libpetsc.a;/home/users/fgeorgatos/.local/easybuild/software/ParMETIS/4.
-- Checking for package 'SLEPc'
-- SLEPC_DIR is 
/home/users/fgeorgatos/.local/easybuild/software/SLEPc/3.3-p1-goolf-1.4.10-Python-2.7.3
-- Performing Test SLEPC_TEST_RUNS
-- Performing Test SLEPC_TEST_RUNS - Success
-- SLEPc test runs
-- Found SLEPc: 
/home/users/fgeorgatos/.local/easybuild/software/SLEPc/3.3-p1-goolf-1.4.10-Python-2.7.3/lib/libslepc.a
-- Checking for package 'CGAL'
-- Performing Test CGAL_TEST_RUNS
-- Performing Test CGAL_TEST_RUNS - Success
-- Found CGAL: 
/home/users/fgeorgatos/.local/easybuild/software/CGAL/4.0-goolf-1.4.10-Python-2.7.3/lib/libCGAL.so;/usr/lib/libgmpxx.so;/usr/lib/libmpfr.so;/usr/lib/libgmp.so;/home
-- Checking for package 'CPPUNIT'
-- CPPUNIT could not be found. Be sure to set CPPUNIT_DIR. (missing:  
CPPUNIT_LIBRARIES CPPUNIT_INCLUDE_DIRS)
-- Checking for package 'Sphinx'
-- Found Sphinx: 
/home/users/fgeorgatos/.local/easybuild/software/Sphinx/1.1.3-goolf-1.4.10-Python-2.7.3/bin/sphinx-build
 (Required is at least version "1.0.7")
--
-- The following optional packages were found:
-- -------------------------------------------
-- (OK) OPENMP
-- (OK) MPI
-- (OK) PETSC
-- (OK) SLEPC
-- (OK) TRILINOS
-- (OK) MTL4
-- (OK) UMFPACK
-- (OK) CHOLMOD
-- (OK) PARMETIS
-- (OK) CGAL
-- (OK) ZLIB
-- (OK) PYTHON
-- (OK) SPHINX
--
-- The following optional packages could not be found:
-- ---------------------------------------------------
-- (**) SCOTCH
--
CMake Error: File 
/tmp/DOLFIN/1.0.0/goolf-1.4.10-Python-2.7.3/dolfin-1.0.0/site-packages/dolfin/common/globalparameters.py.in
 does not exist.
CMake Error at CMakeLists.txt:437 (configure_file):
configure_file Problem configuring file


CMake Error at CMakeLists.txt:494 (add_subdirectory):
The source directory

  /tmp/DOLFIN/1.0.0/goolf-1.4.10-Python-2.7.3/dolfin-1.0.0/dolfin

does not contain a CMakeLists.txt file.


CMake Error at demo/CMakeLists.txt:11 (find_package):
Could not find a configuration file for package dolfin.

Set dolfin_DIR to the directory containing a CMake configuration file for
dolfin.  The file will have one of the following names:

  dolfinConfig.cmake
  dolfin-config.cmake



Could not locate dolfin-config.cmake file. Did you do 'make install' for the 
DOLFIN library and set the appropriate paths (source <build_dir>/dolfin.conf)?
CMake Error at CMakeLists.txt:586 (add_subdirectory):
The source directory

  /tmp/DOLFIN/1.0.0/goolf-1.4.10-Python-2.7.3/dolfin-1.0.0/doc

does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!

== 2013-03-31 13:31:02,484 main.filetools DEBUG Using default regular 
expression: (?<![(,]|\w)(?:error|segmentation fault|failed)(?![(,]|\.?\w)
== 2013-03-31 13:31:02,490 main.filetools INFO parseLogError msg: Command used: 
 cmake 
-DCMAKE_INSTALL_PREFIX=/home/users/fgeorgatos/.local/easybuild/software/DOLFIN/1.0.0-goolf-1
== 2013-03-31 13:31:02,491 main.filetools INFO parseLogError (some may be 
harmless) regExp (?<![(,]|\w)(?:error|segmentation fault|failed)(?![(,]|\.?\w) 
found:
-- Performing test SCOTCH_TEST_RUNS - Failed
(0): ERROR: SCOTCH_dgraphInit: Scotch compiled with SCOTCH_PTHREAD and program 
not launched with MPI_THREAD_MULTIPLE
-- Performing test SCOTCH_ZLIB_TEST_RUNS - Failed
(0): ERROR: SCOTCH_dgraphInit: Scotch compiled with SCOTCH_PTHREAD and program 
not launched with MPI_THREAD_MULTIPLE
CMake Error: File 
/tmp/DOLFIN/1.0.0/goolf-1.4.10-Python-2.7.3/dolfin-1.0.0/site-packages/dolfin/common/globalparameters.py.in
 does not exist.
CMake Error at CMakeLists.txt:437 (configure_file):
CMake Error at CMakeLists.txt:494 (add_subdirectory):
CMake Error at demo/CMakeLists.txt:11 (find_package):
CMake Error at CMakeLists.txt:586 (add_subdirectory):
== 2013-03-31 13:31:02,491 main.filetools WARNING Found 9 errors in command 
output (output: -- Performing test SCOTCH_TEST_RUNS - Failed, (0): ERROR: 
SCOTCH_dgraphInit: Scotch com
== 2013-03-31 13:31:02,492 main.EB_DOLFIN ERROR EasyBuild crashed with an error 
(at easybuild/easyblocks/d/dolfin.py:172 in configure_step): Optional packages 
could not be found,
== 2013-03-31 13:31:02,492 main ERROR EasyBuild crashed with an error (at 
easybuild/tools/build_log.py:96 in exception): EasyBuild encountered an 
exception (at easybuild/main.py:8
Traceback (most recent call last):
File 
"/home/users/fgeorgatos/.local/lib/python2.6/site-packages/easybuild_framework-1.3.0rc2-py2.6.egg/easybuild/main.py",
 line 806, in build_and_install_software
  regtest_online=options.regtest_online)
File 
"/home/users/fgeorgatos/.local/lib/python2.6/site-packages/easybuild_framework-1.3.0rc2-py2.6.egg/easybuild/framework/easyblock.py",
 line 1721, in run_all_steps
  self.run_step(stop_name, step_methods, skippable=skippable)
File 
"/home/users/fgeorgatos/.local/lib/python2.6/site-packages/easybuild_framework-1.3.0rc2-py2.6.egg/easybuild/framework/easyblock.py",
 line 1604, in run_step
  m(self)
File 
"/home/users/fgeorgatos/.local/lib/python2.6/site-packages/easybuild_framework-1.3.0rc2-py2.6.egg/easybuild/framework/easyblock.py",
 line 1655, in <lambda>
  configure_step_spec = ('configure', 'configuring', [lambda x: 
x.configure_step()], True)
File 
"/home/users/fgeorgatos/.local/lib/python2.6/site-packages/easybuild_easyblocks-1.3.0rc1-py2.6.egg/easybuild/easyblocks/d/dolfin.py",
 line 172, in configure_step
  self.log.error("Optional packages could not be found, this should not 
happen...")
File 
"/home/users/fgeorgatos/.local/lib/python2.6/site-packages/easybuild_framework-1.3.0rc2-py2.6.egg/easybuild/tools/build_log.py",
 line 88, in error
  raise EasyBuildError(newMsg)
EasyBuildError: 'EasyBuild crashed with an error (at 
easybuild/easyblocks/d/dolfin.py:172 in configure_step): Optional packages 
could not be found, this should not happen...'

Reply via email to