[Echempp-devel] documentation Notes.log,1.16,1.17
Status: Beta
Brought to you by:
berndspeiser
|
From: Bernd S. <ber...@us...> - 2009-04-26 17:06:58
|
Update of /cvsroot/echempp/documentation In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13298 Modified Files: Notes.log Log Message: merged Notes.log from two sources Index: Notes.log =================================================================== RCS file: /cvsroot/echempp/documentation/Notes.log,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Notes.log 26 Apr 2009 17:02:31 -0000 1.16 --- Notes.log 26 Apr 2009 17:06:52 -0000 1.17 *************** *** 236,248 **** 29.03.2008 ! To compile with gcc 4.3.0 ion a 64-bit system, the configure command line should include ! CXXFLAGS=-DBOOST_NO_INTRINSIC_INT64_T, since boost 1.35.0 does not correctly set this automatically. 20.05.2008 ! checking compile times with new Quantities version (using the QuantityTraits template; this is after ! deleting the dedimensionalization code in Quantities)) without the template: 1694.157u 63.867s 34:24.03 85.1% 0+0k 0+0io 4591pf+0w -rwxr-xr-x 1 bs users 17364127 2008-05-20 18:57 /home/bs/software/EChem++/GUI/Windows/Qt/EChem++/Model/.libs/ModSim ! (note that the dedimensionalization deletion already has brought about a lot of improvement; the size of the executable was around 25 MB before!). --- 236,304 ---- 29.03.2008 ! To compile with gcc 4.3.0 ion a 64-bit system, the configure command ! line should include CXXFLAGS=-DBOOST_NO_INTRINSIC_INT64_T, since ! boost 1.35.0 does not correctly set this automatically. 20.05.2008 ! checking compile times with new Quantities version (using the ! QuantityTraits template; this is after deleting the dedimensionalization ! code in Quantities)) without the template: 1694.157u 63.867s 34:24.03 85.1% 0+0k 0+0io 4591pf+0w -rwxr-xr-x 1 bs users 17364127 2008-05-20 18:57 /home/bs/software/EChem++/GUI/Windows/Qt/EChem++/Model/.libs/ModSim ! (note that the dedimensionalization deletion already has brought about a ! lot of improvement; the size of the executable was around 25 MB before!). ! ! 06.04.2009 ! ! some bug fixes according to gcc 4.3.1 warnings (missing parentheses; ! in kineticTerms.cpp and equilibriumTerms.cpp). ! ! The graphical user interface of EChem++ seems to have a problem. This has ! already been observed on openSUSE 10.3 (Frank Breher, reproduced by ! Steffi Benthin), and now appears also on 11.0. The program starts and ! then crashes with a segmentation fault deep in some of the graphic routines. ! On some installations even the X system is killed. ! ! Still even to compile under openSUSE 11.0 on a x86_64 system with both ! 32bit and 64bit libraries a couple of changes had to be made, mostly ! with regard to the build system. ! First, a recent version of libtool (2.2.6a) was installed. Since this is ! in parallel to the system version 1.5.26, the script runme_cvs.sh had ! to be changed. This could be deleted later, when only 2.2.6 is present in ! the system paths. (done, 20.04.2009) ! Moreover, ACLOCAL_AMFLAGS= -I m4 was added to the Makefile.am ! in the EChem++ root directory, according to the libtoolize documentation. ! This causes macro definition files to be placed in subdirectory m4. At ! present these are all generated files, so there is no need to add m4 to ! the cvs tree, however, this could change later. ! All aclocal.m4 needed to be deleted, in order to avoid version inconsistencies. ! ! With the new libtool in place, the code did compile, but not link. Obviously, ! there was an incorrect reference to libgmp and to some of the X libraries ! (first: libXi.so), which were taken from /usr/lib rather than /usr/lib64. ! This caused `wrong format' errors. These could be avoided by adding ! `-L/usr/lib64 -L/usr/lib' to variable GUI_LDFLAGS in the GUI configure.in file. ! This variable is later used in the ModSim Makefile.am. ! ! Still, with all these changes, the segfault problem mentioned above, occurs. ! ! 20.04.2009 ! ! The following applies to an openSUSE 11.0 system on a x86_64 architecture. ! ! After de-installation of the system libtool (1.5.26) and installation of ! libtool 2.2.6a as root in /usr/local, the runme script runme_cvs_libtool2.2.6.sh ! could be deleted. After reconfiguration EChem++ compiles and links. ! ! Furthermore, VTK version 4.4.2 (old, I had a tar file still lying around) was ! installed. With gcc 4.3.1, I had to change the include directives for <string> ! into <cstring> in VTK/Utilities/DICOMParser/DICOMFile.cxx (line 26), DICOMParser.cxx (line 39) and DICOMAppHelper.cxx (line 34) to get it compiled. ! Still, the segmentation fault problem remains, but it can be solved by using ! the correct path to the new VTK libraries in the LD_LIBRARY_PATH variable BEFORE ! the path to the more recent one. ! ! Simulations can be done, but some of the texts in the GUI are scrambled (some ! `0' superscripts are not correctly rendered). One problem is that the ! example xml files can not be read: `stream error'. |