Hi,
i'm trying exciting.hydrogen.9.10.tar.gz on CentOS 5.4 i686 with
g95-0.91.
There are tests that fail (I attach the failed.xml file (the largest
one, but not complete list of failures)).
I would also like to comment on packaging of exciting:
- i think it's more common to name the tar file using "exciting-
hydrogen" instead of exciting.hydrogen
Is hydrogen a kind of version number?
This will cause some troubles for RPM packaging, if the next release
is called helium, then RPM will treat it as two different packages.
I see in
http://static.exciting-code.org/exciting.9.10.linux32.deb
that "hydrogen" is skipped.
- it would be better that the contents of the tar file corresponds to
the name of the package:
currently exciting.hydrogen.9.10.tar.gz contains "exciting" directory.
- adding an option to skip compilation of blas/lapack/arpack, ... if
one wants to use an optimized one,
would save some compilation time,
- it would be nice to have a general make.inc that reads from
environment variables,
to avoid the captive interface,
- the tests report (accessed in a browser from report/index.html) is
not very clear:
clicking for example on "failed" for "Test run Nr:01" and "Test run Nr:
02" shows (slightly different) results from all test0* directories.
CAMd (
http://www.camd.dtu.dk/) hosts currently an RPM spec file of
exciting.
RPM build instructions of exciting on CentOS 5.4 (probably works also
on Fedora Core):
0. as root:
yum install rpm-build blas-devel lapack-devel
1. as standard user:
cd; mkdir rpmbuild; cd rpmbuild; mkdir SPECS SOURCES BUILD
chmod -R go+rx ../rpmbuild
cd SPECS
RPM_ROOT=
https://svn.fysik.dtu.dk/projects/rpmbuild/branches/
campos_installer/
wget ${RPM_ROOT}SPECS/exciting-species.spec
wget ${RPM_ROOT}SPECS/exciting.spec
wget
http://www.g95.org/g95.spec
cd ../SOURCES
wget ${RPM_ROOT}SOURCES/exciting.make.inc
wget
http://static.exciting-code.org/exciting.hydrogen.9.10.tar.gz
wget
http://ftp.g95.org/v0.91/g95_source.tgz
wget
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.0.3/gcc-core-4.0.3.tar.gz
2. as standard user, for example on EL5/CentOS5, assumes bash:
disttag=el5.exciting
echo "%disttag $disttag" >> ~/.rpmmacros
echo "%_topdir ${HOME}/rpmbuild" >> ~/.rpmmacros
cd ~/rpmbuild/SPECS
rpmbuild -bb g95.spec
rpmbuild -bb --without default_version exciting-species.spec
chmod go+r ../RPMS/*/*.rpm
su -c "rpm -ivh ../RPMS/*/g95*.rpm"
su -c "rpm -ivh ../RPMS/noarch/*.rpm"
rpmbuild -bb --without default_version \
--with compiler=g95 --with compiler_version=0.91 --with
compiler_bindir=/usr/local/bin \
--with blas_version=3.0 --with lapack_version=3.0 \
--without parallel --with prefix=/opt/exciting/9.10-1.$
{disttag} exciting.spec
chmod go+r ../RPMS/*/*.rpm
su -c "rpm -ivh ../RPMS/*/exciting-*.rpm"
3. set environment variables with (you can copy these files to /etc/
profile.d to make it permanent):
. /opt/exciting-species/9.10-1.${disttag}/
exciting-species-9.10.sh
. /opt/exciting/9.10-1.${disttag}/bin/*.sh
For a more complex build see
https://wiki.fysik.dtu.dk/niflheim/Cluster_software_-_RPMS?action=show#build-the-following-for-exciting
Best regards,
Marcin