| 查看: 682 | 回复: 2 | |||
[交流]
【求助】TB-LMTO-ASA编译时的libpgplot.a问题
|
|
最近在玩个老程序TB-MLTO-ASA,编译时遇到库文件libpgplot.a,搜了老半天也没能找到,SUSE系统不带这个,网上也没找到,如果把PGFLAGS= -lX11 -lm /usr/local/server/pgplot/AIX/libpgplot.a注释掉,编译刚开始就退出了,返回一大堆问题。 那位鼓捣过这个,指点一下,先谢过了。 本人用ifort+icc/SUSE干活. |
» 猜你喜欢
求助一下有机合成大神
已经有4人回复
拟解决的关键科学问题还要不要写
已经有8人回复
请教限项目规定
已经有5人回复
最失望的一年
已经有16人回复
存款400万可以在学校里躺平吗
已经有33人回复
求推荐英文EI期刊
已经有5人回复
26申博
已经有3人回复
基金委咋了?2026年的指南还没有出来?
已经有10人回复
基金申报
已经有6人回复
疑惑?
已经有5人回复
» 本主题相关价值贴推荐,对您同样有帮助:
前段时间问了大家关于纳米银的问题,现在继续哦 感谢各位高手前辈
已经有11人回复
cmc-na的一些问题
已经有6人回复
用吸光值反映微藻生长情况的问题
已经有9人回复
Siesta3.1编译出错:ld: cannot find -libmkl_scalapack_lp64
已经有3人回复
射频磁控溅射ZAO陶瓷靶时遇到的一些问题
已经有10人回复
公派攻博户口问题
已经有5人回复
从防腐涂料的产销量来谈谈防腐涂料的前途问题!
已经有8人回复
急!!!在线等关于修改稿投稿的问题
已经有9人回复
fluent,erosion\accretion的设置问题
已经有3人回复
PBS脚本如何编译?
已经有5人回复
I really want to have a chat with you
已经有10人回复
Zeitschrift für Naturforschung A 投稿问题
已经有10人回复
工程上内回流比1:1,A/O中A池和O池哪个池中硝酸盐浓度高点?遇到问题了。
已经有12人回复
siesta-3.1编译成功,但有几个问题求助
已经有7人回复
Fries 重排的问题
已经有4人回复
» 抢金币啦!回帖就可以得到:
南佛罗里达大学化学系刘文奇课题组 2026 Fall 招收有机/超分子方向博士生
+2/934
辽宁材料实验室高热通量框架复合材料方向招聘科研骨干2名(长期有效)
+5/215
东北石油大学三亚海洋油气研究院|地学硕士|地质资源与地质工程、地质学、地质工程等
+1/183
深圳大学水科学中心HydroS课题组招收化学/环境相关专业博士生1名(2026年入学)
+1/81
北京大学季者课题组招聘博士后和科研助理/化学/化生/生命科学/物理/工程等
+1/77
中国科协青年托举(针对32岁青年人才的)是不是不搞了,25年都没有通知
+1/69
[长期合作招募] 同济大学肖倩老师团队诚邀港澳学者学术交流
+1/56
211双一流北京工业大学招计算机、AI、自动控制、电子信息等方向博士生(长期有效)
+1/39
东北林业大学刘松教授课题组长期招收博士、博士后
+1/33
华中科技大学周英教授招博后
+1/33
智合健物课题组2026年博士生招生(湖北工业大学)
+1/30
华中农大生物催化组招26年博士:代谢工程、酵母工程、药学、有机、酶工程、计算模拟
+1/30
国重点实验室双一流A类长江学者团队招2026年全日制博士1-2名
+2/24
中国地质大学(武汉)分析地球化学团队招收博士生1名、硕士生3名
+2/22
紧急招博士生报考
+1/3
河北工业大学层状材料与器件团队诚聘二维材料与原位电子显微学方向青年教师与博士后
+1/3
生殖医学与子代健康全国重点实验室华鹏课题组招收博士后及研究生(长期有效)
+1/2
重庆大学诚招2026年生物材料方向博士生
+1/1
【博士后/科研助理招聘-北京理工大学-集成电路与电子学院-国家杰青团队】
+1/1
福州大学梁宇航副教授招收2026年申核制博士研究生/硕士研究生(理论计算方向)
+1/1
★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
zzy870720z(金币+2): 谢谢指教 2011-03-07 15:23:56
hakuna(金币+50): 谢谢提供信息! 2011-03-07 15:24:47
小木虫(金币+0.5):给个红包,谢谢回帖交流
zzy870720z(金币+2): 谢谢指教 2011-03-07 15:23:56
hakuna(金币+50): 谢谢提供信息! 2011-03-07 15:24:47
|
//------------------------------// // PGPLOT quick installation // // on a Linux computer // //------------------------------// 0/ Make sure the devel package for X11 library is installed on your computer. For instance, on a Mandriva 2010 Spring Linux distribution, it is the package libx11_6-devel; on Ubuntu 7.10, it is libx11-dev. 1/ Get the PGPLOT source tar file from http://astro.caltech.edu/~tjp/pgplot/ 2/ Execute the following, as super-user (su) : cp pgplot5.2.tar.gz /usr/local/src cd /usr/local/src # directory for the sources tar -zxvf pgplot5.2.tar.gz cd pgplot mkdir /usr/local/pgplot # create the directory for the binaries and font files cd !$ cp /usr/local/src/pgplot/drivers.list . emacs drivers.list & # select (by removing the ! sign) the drivers to be # used for pgplot outputs: typically: # PSDRIV 1,2,3,4 : EPS figures # XWDRIV 1,2 : X-window output (requires that the # package libxorg-x11-devel or an equivalent one # is installed on your system) # ----- Optional part : to increase the number of simultaneous devices ------- # from 8 to 32 cd /usr/local/src/pgplot/src cp grpckg1.inc grpckg1.inc_backup # to keep a copy of the original source file cp pgplot.inc pgplot.inc_backup # emacs grpckg1.inc & # Replace " PARAMETER (GRIMAX = 8) " in line 29 # by " PARAMETER (GRIMAX = 32) " emacs pgplot.inc & # Replace " PARAMETER (PGMAXD=8) " in line 7 # by " PARAMETER (PGMAXD=32) " cd /usr/local/pgplot # ---------------------- End of optional part --------------------------------- /usr/local/src/pgplot/makemake /usr/local/src/pgplot linux g77_gcc # prepares # the makefile for linux system + gcc compiler # ---------------- Special treatment for gcc 4.* ------------------ # # If you are using the gcc 4.0 (or above) compilers (i.e. gfortran instead # of g77), perform the following: emacs makefile & # Replace "FCOMPL=g77" in line 25 # by "FCOMPL=gfortran" # # Replace "FFLAGC=-u -Wall -fPIC -O" in line 26 # by "FFLAGC=-ffixed-form -ffixed-line-length-none -u -Wall -fPIC -O" # ---------------- End of special treatment for gcc 4.* ---------------------- make # compiles the Fortran part make cpg # compiles the C part (binding to Fortran) emacs /usr/local/src/pgplot/makehtml & # this file needs to be edited to # replace the first line by # #!/usr/bin/perl make pgplot.html # produces the html documentation make clean cd /usr/local/lib # libraries for local installations ln -s /usr/local/pgplot/libpgplot.a libpgplot.a # F77 static library ln -s /usr/local/pgplot/libcpgplot.a libcpgplot.a # C static library cp /usr/local/pgplot/libpgplot.so . # dynamic (runtine) library emacs /etc/ld.so.conf & # edit this file to add the line /usr/local/lib /sbin/ldconfig -v # updates the path for runtime libraries ln -s /usr/local/pgplot/cpgplot.h /usr/local/include/cpgplot.h 3/ Each end user should type (or put in his .bashrc or .tcshrc file): # if csh or tcsh shells: setenv PGPLOT_DIR /usr/local/pgplot/ setenv PGPLOT_DEV /xwin # prefered output device, an alternative is /xserve # if bash shell: PGPLOT_DIR=/usr/local/pgplot/ export PGPLOT_DIR PGPLOT_DEV=/xwin # prefered output device, an alternative is /xserve export PGPLOT_DEV cd /usr/local/pgplot ./pgdemo1 # it should work ! http://www.lorene.obspm.fr/pgplot_quick.txt |
2楼2011-03-07 12:57:47
3楼2022-03-24 20:11:38













回复此楼