| 查看: 816 | 回复: 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干活. |
» 猜你喜欢
售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急
已经有6人回复
售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急
已经有5人回复
售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急
已经有6人回复
售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急
已经有4人回复
售SCI文章,我:8O.5.5.1O.54,科目全,可十急
已经有4人回复
售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急
已经有6人回复
售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急
已经有5人回复
课题组会帮你通过考核么?
已经有4人回复
各位大佬,路线设计求助
已经有8人回复
售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急
已经有3人回复
» 本主题相关价值贴推荐,对您同样有帮助:
前段时间问了大家关于纳米银的问题,现在继续哦 感谢各位高手前辈
已经有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年人文教育与社会发展国际会议(HESD 2026)
+1/888
求助DL 5009.1-2014
规程 第1部分:火力发电》
+1/487
沈阳工业大学 环境电化学技术研究团队 招收硕士研究生(学硕/专硕)
+2/84
爱丁顿实验
+1/37
高分辨质谱测试丨科研单位对外服务
+1/20
细胞检定样品,您用对了吗?
+1/3
委托检验的安全锁:质量保证协议,你签了吗?
+1/3
ICoEP(教育与心理学国际会议)
+1/2
ICoAAD(建筑、艺术与设计)
+1/2
GCHSD(全球文化遗产可持续发展大会)
+1/2
仪器验证全生命周期管理:检测数据精准与否的前提
+1/2
智能传感器网络实时数据处理:时序分析、DNN调度与MQTT边缘AI工作站配置
+1/1
清华大学-区域环境安全全国重点实验室招聘地下水科学/水文地质方向助理研究员/副研究�
+1/1
ICoFEE(林业、生态与环境)
+1/1
单细胞VDJ测序:从B细胞库中精准挖掘抗体药优势克隆
+1/1
CoIMCT(信息、媒体与通信技术)Informatics, Media and Communication Technology
+1/1
ECNLPIR(自然语言处理与信息检索)
+1/1
ECSFS(能源、气候与可持续发展峰会)
+1/1
CoEES(能源与地球科学)2027 International Conference on Energy and Earth Science
+1/1
新能源并网仿真:AI实现规程问答与试验报告生成,电磁暂态图形工作站硬件配置方案
+1/1
3楼2022-03-24 20:11:38
★ ★ ★
小木虫(金币+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










回复此楼