記憶體不足 修改memorypar - Linux

Kelly avatar
By Kelly
at 2014-07-04T18:04

Table of Contents

請問我要安裝叫talys的軟體

2.3 Verification
If TALYS is installed, testing the sample cases is the logical next step. The
samples/ directory contains
the script verify that runs all the test cases. Each sample case has its own
subdirectory, which contains
a subdirectory org/, where we stored the input files and our calculated
results, obtained with the Fu-
jitsu/Lahey v8.0 compiler on Linux Red Hat Enterprise 6. It also contains a
subdirectory new, where
we have stored the input files only and where the verify script will produce
your output files. A full
description of the keywords used in the input files is given in Chapter 6.
Section 7.3 describes all sample
cases in full detail. Note that under Linux/Unix, in each subdirectory a file
with differences with our
original output is created.

Should you encounter error messages upon running TALYS, like ’killed’ or ’
segmentation fault’,
then probably the memory of your processor is not large enough (i.e. smaller
than 256 Mb). Edit
talys.cmb and reduce the value of memorypar.

我安裝後要驗證得到的錯誤訊息

lee@lee-BM2320:~/talys/samples$ ./verify
/home/lee/talys/samples/18/a/new
Segmentation fault (core dumped)

所以就是手冊上講的
probably the memory of your processor is not large enough
但我的電腦記憶體是4G 換另一台也是4G也碰到一樣問題
所以要編輯talys.cmb

http://ppt.cc/uXm1

可否請問的這檔案要怎樣編輯才能reduce the value of memorypar.

c ********** Every local and global variable must be declared **********
c
implicit none
c
c ********** All parameters for the array dimensions are set ***********
c
c Consult the various subroutines for an explanation of the variables.
c To enable optimal calculations on computers of different size, we
c introduce the variable memorypar.
c
integer memorypar,numpar,numiso,numelem,numl,numlines,numenin,
+ numZ,numN,numZph,numNph,numbar,nummt,numgam,numrange,
+ numadj,numenadj,numlev,numisom,numflux,numfile,numlev2,
+ numrotcc,numgamqrpa,numTqrpa,numomp,numompadj,numjlm,
+ numrot,nummatchT,numdens,numdensracap,numen,numang,
+ numangcont,numexc,numconf,numJph,numparx,numfact,
+ numbins,numex,numJ,numenrec,numangrec,numendisc,numen2,
+ numenmsd,numJmsd,nummsd,numbinfis,numbeta,numhill,
+ numtrans,nummold,numgoe,numT,numcomp,numZchan,numNchan,
+ numin,numip,numid,numit,numih,numia,numchantot,nummass,
+ numA,numnu,numenlow,numtime,numen6
c
c Use memorypar=2 for 64 Mb RAM
c Use memorypar=5 for 256 (or more) Mb RAM
c
parameter (
+ memorypar=6,
c + memorypar=4,
+ numpar=6,
+ numiso=20,
+ numelem=110,
+ numl=60,
+ numlines=5000,
+ numenin=2000,
+ numZ=2+2*memorypar,
+ numN=10+4*memorypar,
+ numZph=4,
+ numNph=8,
+ numbar=3,
+ nummt=200,
+ numgam=6,
+ numrange=10,
+ numadj=500,
+ numenadj=1000,
c + numlev=3*memorypar*memorypar+2,
+ numlev=30,
+ numisom=10,
+ numflux=100,
+ numfile=100)

--
Tags: Linux

All Comments

Susan avatar
By Susan
at 2014-07-07T00:17
parameter 底下的 memorypar=6 改成 memorypar=5 試試?
Connor avatar
By Connor
at 2014-07-11T10:00
謝謝

sendmail 無法收信問題

Quintina avatar
By Quintina
at 2014-07-04T09:01
剛接手新公司的資訊人員 目前公司MAIL伺服器是用fedora + sendmail架設 日前發生異常現像 使用者可以寄信 但無法收信 用ls -lh /var/spool/mail 下去查 發現使用者的信箱空間都為0 重建該使用者的信箱也是會無法收信 後來誤打誤撞去重建使用者home資料夾裡的 ...

xen 安裝虛擬機

Carolina Franco avatar
By Carolina Franco
at 2014-07-03T20:12
想在Linux上用xen安裝幾台虛擬機(Linux, Win7) 但在裝第一台就卡住了QQ Host系統:opensuse13.1 我是用virt-manager安裝的 但遇到以下錯誤 Unable to complete install:POST operation failed: xend_post: ...

各位在 Linux 玩遊戲的方式

Kelly avatar
By Kelly
at 2014-07-03T12:30
我換到 Linux 的主要目的之一是要取代 Windows, 當然把 Windows 上的遊戲搬到 Linux 也是一項遷移過程。 因為我的遊戲主要都在 Steam 上, 先前有嘗試過在一些發行版上安裝 Steam / Wine + Steam for Windows, 結果出現了一些不太滿意的測試 ...

pcmanx-gtk2 的 Ubuntu PPA daily build

Ursula avatar
By Ursula
at 2014-07-03T11:08
pcmanx-gtk2 的 Ubuntu PPA daily build 已經移到 ppa:pcman-bbs/dailybuild 囉~ https://launchpad.net/~pcman-bbs/+archive/dailybuild 有在使用 ppa:fourdollars/pc ...

淡水公司徵熟悉Realtek or Ralink開發人才

Joe avatar
By Joe
at 2014-07-03T10:28
抱歉,打擾各位同學, 因為實在找不到徵才版面, 才想說在本版留言,如果有違反板規, 請告知,謝謝! 我們公司是在淡水紅樹林這邊, 我們要尋找 熟悉Realtek or Ralink 無線路由器 f/w 的 liunx 開發人才 初期是以接案方式配合, 如有意願者,再請跟我們連繫,謝謝 0932-998- ...