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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux