Re: Program killed as soon as it starts to run

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

 



2008/4/30 Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx>:
> Paul Smith wrote:
>
> >
> > Thanks, Reid. Read that, but after having rebooted the computer and
> > with no program opened, I got the same problem. That is a fact that I
> > am using an old computer with not so much RAM.
> >
> > Paul
> >
> >
>  Dumb question - does this program require a lot of memory? Could the system
> run out of resources when you start the program so the system needs to kill
> it off in order to have enough resources to keep running?

I was kind of curious about that myself, so I re-ran it with no spec
file.  Here's its ps output:

  PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
  9704 reid      20   0 1724M   892   704 S  0.0  0.0  0:00.00 ./algencan

That 1724M looks a little scary.  (I have 4 GB here.)

I don't speak fortran too well, but the code does seem to allocate
some decently hefty amounts of memory, such as this:

      double precision nl(nmax),c(mmax),rho(mmax)

where mmax is 500000.  There must be others, too.  Maybe you don't
want to run this thing on your low memory machine...!

reid

-- 
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