remaining memory on Snow leopard

Discussion about building and installing Elmer
Post Reply
mulvrova
Posts: 63
Joined: 04 Sep 2009, 10:48

remaining memory on Snow leopard

Post by mulvrova »

Hello,

after compiling Elmer on Mac OS X 10.6.2 with Quad-Core Intel Xeon when I run any of the test cases I got these remaining memory notifications. This leaking memory causes run of memory problem for big runs. Any idea how to pass by this problem?

here is the installation script

Code: Select all

#!/bin/sh -f
ELMER_HOME=/Users/admin/elmerfem

export CC=gcc
export CXX=g++
export FC=g95
export F77=g95
export LIBS=-lblas

modules="matc umfpack mathlibs elmergrid meshgen2d eio hutiter fem"
for m in $modules; do
  cd $m
  make clean
 ./configure --prefix=/Users/admin/elmerfem --exec-prefix=/Users/admin/elmerfem --with-blas="-lblas"
  make
  sudo make install
  cd ..
done
with g95 version

Code: Select all

bash-3.2$ 
G95 (GCC 4.2.4 (g95 0.92!) May  3 2010)
Copyright (C) 2002-2008 Free Software Foundation, Inc.

G95 comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of G95
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

and leaking memory notifications

Code: Select all

END TEST CASE 1, Target NRM=0.426963082339
 ElmerSolver: *** Elmer Solver: ALL DONE ***
ElmerSolver: The end
SOLVER TOTAL TIME(CPU,REAL):         0.75        0.76
ELMER SOLVER FINISHED AT: 2010/05/16 15:08:20
Remaining memory: 32 bytes at 00000001005f6808 allocated at line 546 of MeshUtils.f90
Remaining memory: 256 bytes at 0000000100534ce8 allocated at line 838 of ModelDescription.f90
Remaining memory: 216 bytes at 000000010051beb8 allocated at line 222 of ElementDescription.f90
Remaining memory: 8 bytes at 0000000100505708 allocated at line 219 of ElementDescription.f90
Remaining memory: 272 bytes at 0000000100502c08 allocated at line 306 of ElementDescription.f90
Remaining memory: 272 bytes at 0000000100501808 allocated at line 306 of ElementDescription.f90
Remaining memory: 8 bytes at 0000000100500338 allocated at line 220 of ElementDescription.f90
BR, Martina.
mulvrova
Posts: 63
Joined: 04 Sep 2009, 10:48

Re: remaining memory on Snow leopard

Post by mulvrova »

Hello,

finally, I used different compilers (gfortran instead of g95) and it works ^_^
However, I still don't know why I can't use g95 >_< to compile Elmer.

BR, Martina.
Post Reply