On Thu, May 8, 2008 at 2:35 PM, egbirgin <[EMAIL PROTECTED]> wrote: > 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.)
Thanks, Ernesto, but the problem was NOT solved after having applied the suggested changes in dim.par: $ ./algencan Killed [EMAIL PROTECTED] fortran]$ dir -l algencan -rwxrwxr-x 1 psmith psmith 169468 2008-05-30 16:38 algencan $ The optimization problem is the toyprob one. Paul -- fedora-list mailing list [email protected] To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
