24小时热门版块排行榜    

查看: 1784  |  回复: 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

金虫 (正式写手)

引用回帖:
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的回帖
查看全部 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问件。

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 哈工大计算机刘劼团队招生 +3 hit_aiot 2026-03-01 5/250 2026-03-02 07:48 by 得鹿梦鱼111
[考研] 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 暮雨星晴
[考研] 材料学硕318求调剂 +11 February_Feb 2026-03-01 13/650 2026-03-01 23:53 by ccp273206157
[考研] 0856材料与化工,270求调剂 +6 YXCT 2026-03-01 6/300 2026-03-01 23:21 by 向上的胖东
[考研] 26考研报考西工大材料308分求调剂 +3 weizhong123 2026-03-01 3/150 2026-03-01 21:42 by 公瑾逍遥
[考研] 272求调剂 +6 田智友 2026-02-28 6/300 2026-03-01 21:40 by 公瑾逍遥
[考研] 299求调剂 +3 Y墨明棋妙Y 2026-02-28 5/250 2026-03-01 21:01 by tangxiaotian
[考研] 272求调剂 +6 材紫有化 2026-02-28 6/300 2026-03-01 18:58 by 18137688336
[考研] 295求调剂 +7 19171856320 2026-02-28 7/350 2026-03-01 18:54 by 18137688336
[考研] 311求调剂 +6 亭亭亭01 2026-03-01 6/300 2026-03-01 15:41 by 324616
[考研] 304求调剂 +6 曼殊2266 2026-02-28 7/350 2026-03-01 15:14 by wjLi2017
[考研] 303求调剂 +4 今夏不夏 2026-03-01 4/200 2026-03-01 14:46 by 嘟嘟小浣熊
[考研] 求调剂 +6 repeatt?t 2026-02-28 6/300 2026-03-01 14:37 by Sakura绘
[考研] 317一志愿华南理工电气工程求调剂 +6 Soliloquy_Q 2026-02-28 11/550 2026-03-01 11:14 by 歌liekkas
[考博] 博士自荐 +4 kkluvs 2026-02-28 4/200 2026-03-01 10:19 by 馥安馥安
[论文投稿] 求助coordination chemistry reviews 的写作模板 10+3 ljplijiapeng 2026-02-27 4/200 2026-03-01 09:07 by babero
[基金申请] 面上模板改不了页边距吧? +5 ieewxg 2026-02-25 6/300 2026-03-01 00:10 by addressing
[考研] 307求调剂 +4 73372112 2026-02-28 6/300 2026-03-01 00:04 by ll247
[硕博家园] 【博士招生】太原理工大学2026化工博士 +4 N1ce_try 2026-02-24 8/400 2026-02-26 08:40 by N1ce_try
信息提示
请填处理意见