24小时热门版块排行榜    

查看: 1783  |  回复: 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的回帖

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问件。

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的回帖

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的回帖

lzlgcdc

金虫 (正式写手)

引用回帖:
5楼: Originally posted by liuhuisfp at 2012-09-01 11:28:34
你没有安装libc库?貌似应该不可能啊

有安装gcc么...

我查看我的gcc版本是4.6.1  ……我缺了什么没有安装吗
6楼2012-09-01 15:16:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liuhuisfp

金虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
引用回帖:
3楼: Originally posted by lzlgcdc at 2012-09-01 11:05:37
ubuntu linux的想安装pgf90编译器 环境我刚设置了一下好像可以了 现在出现的问题是
c@c-VirtualBox:~$ pgf90
pgf90-Error-Please run makelocalrc to complete your installation
c@c-VirtualBox:~$ sudo ./mak ...

./makelocalrc -x /opt/pgi/linux86/12.8/lib/libc.so.6
与上面的说明不符啊,按照makelocalrc后面要么跟目录,要么什么不跟,你为什么跟一个文件呢

你先不带任何参数运行makelocalrc看看有没有问题
7楼2012-09-01 15:30:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lzlgcdc

金虫 (正式写手)

引用回帖:
7楼: Originally posted by liuhuisfp at 2012-09-01 15:30:37
./makelocalrc -x /opt/pgi/linux86/12.8/lib/libc.so.6
与上面的说明不符啊,按照makelocalrc后面要么跟目录,要么什么不跟,你为什么跟一个文件呢

你先不带任何参数运行makelocalrc看看有没有问题...

c@c-VirtualBox:~$ ./makelocalrc
bash: ./makelocalrc: 没有那个文件或目录



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
这样试了两个分别就是上面的样子 ……好头疼啊
8楼2012-09-01 15:47:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liuhuisfp

金虫 (小有名气)


xzhdty: 金币+1, 谢谢参与 2012-09-02 17:36:49
引用回帖:
8楼: Originally posted by lzlgcdc at 2012-09-01 15:47:20
c@c-VirtualBox:~$ ./makelocalrc
bash: ./makelocalrc: 没有那个文件或目录



c@c-VirtualBox:/opt/pgi/linux86/12.8/bin$ ./makelocalrc
Usage: ./makelocalrc  ...
installdir   the directory where t ...

c@c-VirtualBox:~$ ./makelocalrc
bash: ./makelocalrc: 没有那个文件或目录

一定要带"./"吗
9楼2012-09-01 16:13:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lzlgcdc

金虫 (正式写手)

引用回帖:
9楼: Originally posted by liuhuisfp at 2012-09-01 16:13:40
c@c-VirtualBox:~$ ./makelocalrc
bash: ./makelocalrc: 没有那个文件或目录

一定要带"./"吗...

不带也可以吧  不同的情况下  我还没装好pgf90  疯了快
10楼2012-09-03 00:06:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 lzlgcdc 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0857调剂 +4 一ll半 2026-02-28 5/250 2026-03-02 02:33 by 908055542
[考研] 284求调剂 +8 天下熯 2026-02-28 8/400 2026-03-02 00:15 by 暮雨星晴
[考研] 材料复试调剂 +3 学材料的点 2026-03-01 4/200 2026-03-02 00:07 by ccp273206157
[考研] 292求调剂 +6 yhk_819 2026-02-28 6/300 2026-03-01 23:23 by 向上的胖东
[考研] 0856调剂 +5 刘梦微 2026-02-28 5/250 2026-03-01 22:30 by wang_dand
[考研] 材料类求调剂 +10 wana_kiko 2026-02-28 12/600 2026-03-01 22:10 by 海嵙Y
[考研] 274求调剂 +3 cgyzqwn 2026-03-01 6/300 2026-03-01 21:24 by cgyzqwn
[考研] 306分材料调剂 +4 chuanzhu川烛 2026-03-01 5/250 2026-03-01 19:48 by 无际的草原
[考研] 0856化工专硕求调剂 +12 董boxing 2026-03-01 12/600 2026-03-01 19:45 by 材子momo
[考研] 一志愿中南大学理学化学 +4 15779376950 2026-03-01 5/250 2026-03-01 19:00 by Fff-1
[考研] 化工专硕348,一志愿985求调剂 +5 弗格个 2026-02-28 8/400 2026-03-01 17:25 by sunny81
[考研] 化工专硕342,一志愿大连理工大学,求调剂 +3 kyf化工 2026-02-28 4/200 2026-03-01 16:49 by yywzz
[基金申请] 刚录用,没有期刊号,但是在线可看的论文可以放为代表作吗 10+3 arang1 2026-03-01 3/150 2026-03-01 16:43 by babero
[考研] 307求调剂 +5 wyyyqx 2026-03-01 5/250 2026-03-01 15:21 by Fff-1
[考研] 求调剂 +6 repeatt?t 2026-02-28 6/300 2026-03-01 14:37 by Sakura绘
[考研] 寻找调剂 +4 LYidhsjabdj 2026-02-28 4/200 2026-03-01 10:56 by sunny81
[论文投稿] Optics letters投稿被拒求助 30+3 luckyry 2026-02-26 4/200 2026-03-01 09:06 by babero
[考研] 264求调剂 +3 巴拉巴拉根556 2026-02-28 3/150 2026-02-28 21:31 by gaoxiaoniuma
[考研] 085600材料工程一志愿中科大总分312求调剂 +8 吃宵夜1 2026-02-28 10/500 2026-02-28 20:27 by L135790
[硕博家园] 【博士招生】太原理工大学2026化工博士 +4 N1ce_try 2026-02-24 8/400 2026-02-26 08:40 by N1ce_try
信息提示
请填处理意见