Re: Program killed as soon as it starts to run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx and/or blame egbirgin@xxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux