Program killed as soon as it starts to run

egbirgin no-reply-gw at fcp.surfsite.org
Thu May 8 13:35:49 UTC 2008


Dear Paul,

Well, ok, if your problem is very large then algencan will use a lot of memory. However, if your problem is small, you can very easily solve it using algencan.

Just go to the file sources/algencan/dim.par and, with care, remove a couple of zeros from mmax, nmax, jcnnzmax, hnnzmax and nwma27.

The current version of dim.par looks like

C     PARAMETERS

      integer mmax,nmax,nsmax,nwma27,hnnzmax,jcnnzmax

      parameter ( mmax      =   500000 )
      parameter ( nmax      =   500000 )
      parameter ( jcnnzmax  = 10000000 )
      parameter ( hnnzmax   = 10000000 )
      parameter ( nwma27    = 10000000 )
      parameter ( nsmax     =     1000 )

Your modified version should looks like

C     PARAMETERS

      integer mmax,nmax,nsmax,nwma27,hnnzmax,jcnnzmax

      parameter ( mmax      =   5000 )
      parameter ( nmax      =   5000 )
      parameter ( jcnnzmax  = 100000 )
      parameter ( hnnzmax   = 100000 )
      parameter ( nwma27    = 100000 )
      parameter ( nsmax     =   1000 )

After doing this modification, compile and run again. Everything will work fine. (Fortran 77 has no dynamic memory allocation.)

Regards,
Ernesto.


-- 
This is an email sent via The Fedora Community Portal https://fcp.surfsite.org
https://fcp.surfsite.org/modules/newbb/viewtopic.php?post_id=262803&topic_id=55950&forum=10#forumpost262803
If you think, this is spam, please report this to webmaster at fcp.surfsite.org and/or blame egbirgin at ime.usp.br.




More information about the fedora-list mailing list