24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1833  |  回复: 9
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

lzlgcdc

金虫 (正式写手)

[求助] fortran 请问这个环境是打开哪个文件修改呢么?

For linux86:
-----------
To use only the linux86 version of the compilers and tools, or to
target linux86 as the default, use a setup similar to the previous one,
changing the path settings as illustrated in the following commands.

For csh:
          
  % setenv PGI /opt/pgi
  % set path=(/opt/pgi/linux86/12.8/bin $path)
  % setenv MANPATH "$MANPATH":/opt/pgi/linux86/12.8/man
  % setenv LM_LICENSE_FILE "$LM_LICENSE_FILE":/opt/pgi/license.dat  

For bash, sh or ksh:

  $ PATH=/opt/pgi/linux86/12.8/bin:$PATH
  $ export PATH
  $ MANPATH=$MANPATH:/opt/pgi/linux86/12.8/man
  $ export MANPATH
  $ LM_LICENSE_FILE=$LM_LICENSE_FILE:/opt/pgi/license.dat
  $ export LM_LICENSE_FILE

You should add these commands to your shell startup files to ensure
that you have access to the PGI products upon future logins.
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lzlgcdc

金虫 (正式写手)

引用回帖:
2楼: Originally posted by weiwei43 at 2012-09-01 09:19:38
你是用什么操作系统,原来的windows比较好改,现在的win7没有改过。
实际上就是改autoexec.bat问件。

ubuntu linux的想安装pgf90编译器 环境我刚设置了一下好像可以了 现在出现的问题是
c@c-VirtualBox:~$ pgf90
pgf90-Error-Please run makelocalrc to complete your installation
c@c-VirtualBox:~$ sudo ./makelocalrc
[sudo] password for c:
sudo: ./makelocalrc:找不到命令
c@c-VirtualBox:~$ cd /opt/pgi/linux86/12.8/bin
c@c-VirtualBox:/opt/pgi/linux86/12.8/bin$ ./makelocalrc
Usage: ./makelocalrc [installdir] [switches]...
installdir   the directory where the PGI compilers are installed
-d outdir    directory to put localrc; default is installdir
-n           show the install information, do not write a localrc file
-o           create the localrc file and write to stdout
-x           write the localrc file and place in outputdir
-l lic       flexlm license file to add to localrc
-gcc gcc     gcc command name; default is gcc
-g++ g++     g++ command name; default is g++
-g77 g77     g77 command name; default is g77
-net locdir  perform network install with named local directory

Example: ./makelocalrc -x /usr/pgi/linux86/7.0
请帮我看看吧  我实在是菜的不行 谢谢啊
3楼2012-09-01 11:05:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 10 个回答

weiwei43

至尊木虫 (正式写手)

你是用什么操作系统,原来的windows比较好改,现在的win7没有改过。
实际上就是改autoexec.bat问件。
2楼2012-09-01 09:19:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lzlgcdc

金虫 (正式写手)

引用回帖:
2楼: Originally posted by weiwei43 at 2012-09-01 09:19:38
你是用什么操作系统,原来的windows比较好改,现在的win7没有改过。
实际上就是改autoexec.bat问件。

c@c-VirtualBox:/opt/pgi/linux86/12.8/bin$ ./makelocalrc -x /opt/pgi/linux86/12.8/lib/libc.so.6: not found.  Searching.
/lib/i386-linux-gnu/libc.so.6: found.
ERROR: directory 安装:/usr/lib/gcc/i686-linux-gnu/4.6: not found;
   successful use of compilers requires existence of gcc libraries
按照他显示的内容 我这样试了一下 这要怎么办呢?
4楼2012-09-01 11:18:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liuhuisfp

金虫 (小有名气)

引用回帖:
4楼: Originally posted by lzlgcdc at 2012-09-01 11:18:35
c@c-VirtualBox:/opt/pgi/linux86/12.8/bin$ ./makelocalrc -x /opt/pgi/linux86/12.8/lib/libc.so.6: not found.  Searching.
/lib/i386-linux-gnu/libc.so.6: found.
ERROR: directory 安装:/usr/lib/gcc/i68 ...

你没有安装libc库?貌似应该不可能啊

有安装gcc么
5楼2012-09-01 11:28:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 290求调剂 +13 luoziheng 2026-04-10 13/650 2026-04-11 23:15 by labixiaoqiao
[考研] 366求调剂 +7 不知名的小卅 2026-04-11 7/350 2026-04-11 16:45 by PeggyPeng17
[考研] 0859,337求调剂 +4 研s. 2026-04-10 4/200 2026-04-11 11:34 by caotw2020
[考研] 求调剂 +13 雪逢冬 2026-04-10 13/650 2026-04-11 09:58 by 猪会飞
[考研] 298求调剂 +13 钉叮咚冬瓜 2026-04-09 13/650 2026-04-10 15:49 by jiajinhpu
[考研] 292求调剂 +9 笑笑袁 2026-04-09 9/450 2026-04-10 10:05 by LHGeng
[考研] 考研二轮调剂 +8 故人?? 2026-04-09 8/400 2026-04-10 09:44 by 青梅duoduo
[考研] 材料化工总分334求调剂 +16 Riot2025 2026-04-08 17/850 2026-04-09 20:19 by maddjdld
[考研] 调剂 +19 2261744733 2026-04-08 19/950 2026-04-09 19:11 by vgtyfty
[考研] 311求调剂 +6 surte 2026-04-08 13/650 2026-04-09 14:00 by surte
[考研] 308求调剂 +17 墨墨漠 2026-04-06 17/850 2026-04-09 09:25 by 壹往無前
[考研] 生物学学硕,初试351分,求调剂 +4 …~、王…~ 2026-04-08 5/250 2026-04-08 21:49 by limeifeng
[考研] 调剂求助(生物与医药) +6 @6952 2026-04-06 6/300 2026-04-07 23:52 by lys0704
[考研] 22408 一志愿双一流人工智能300分 四六级,数据分析国奖 +4 zzfeng123 2026-04-06 6/300 2026-04-07 21:02 by zzfeng123
[考研] 一志愿西电085401求调剂 +4 sunw1306 2026-04-07 4/200 2026-04-07 16:40 by 啵啵啵0119
[考研] 325 调剂 +6 QQ小虾 2026-04-07 6/300 2026-04-07 15:17 by Ccclqqq
[考研] 316求调剂 +7 yyx想调剂 2026-04-05 7/350 2026-04-07 14:31 by shdgaomin
[考研] 307求调剂 +3 Youth@@ 2026-04-07 3/150 2026-04-07 09:25 by 小黑不怕难
[考研] 22408 331分求调剂 +4 y__1 2026-04-06 4/200 2026-04-06 17:26 by 土木硕士招生
[考研] 求调剂 +7 张.1 2026-04-05 7/350 2026-04-05 20:40 by 啵啵啵0119
信息提示
请填处理意见