24小时热门版块排行榜    

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

金虫 (正式写手)

引用回帖:
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的回帖
查看全部 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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 279求调剂 +3 dua1 2026-03-01 4/200 2026-03-02 00:23 by 大脸蛋子
[考研] 一志愿郑大材料学硕298分,求调剂 +5 wsl111 2026-03-01 5/250 2026-03-01 23:45 by 暮雨星晴
[考研] 0854复试调剂 276 +3 wmm9 2026-03-01 3/150 2026-03-01 23:13 by 热情沙漠
[考研] 265分求调剂不调专业和学校有行学上就 +6 礼堂丁真258 2026-02-28 8/400 2026-03-01 22:50 by jian_
[基金申请] 成果系统访问量大,请一小时后再尝试。---NSFC啥时候好哦,已经两天这样了 +4 NSFC2026我来了 2026-02-28 4/200 2026-03-01 22:37 by 铁门栓
[硕博家园] 博士自荐 +7 科研狗111 2026-02-26 11/550 2026-03-01 22:24 by 哲平L
[考研] 材料类求调剂 +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
[考研] 299求调剂 +3 Y墨明棋妙Y 2026-02-28 5/250 2026-03-01 21:01 by tangxiaotian
[考研] 一志愿中南大学理学化学 +4 15779376950 2026-03-01 5/250 2026-03-01 19:00 by Fff-1
[考研] 291分工科求调剂 +9 science饿饿 2026-03-01 10/500 2026-03-01 18:55 by 18137688336
[考研] 化工专硕348,一志愿985求调剂 +5 弗格个 2026-02-28 8/400 2026-03-01 17:25 by sunny81
[考研] 321求调剂一志愿东北林业大学材料与化工英二数二 +4 虫虫虫虫虫7 2026-03-01 7/350 2026-03-01 16:52 by caszguilin
[考研] 285求调剂 +8 满头大汗的学生 2026-02-28 8/400 2026-03-01 16:47 by caszguilin
[考研] 295复试调剂 +3 简木ChuFront 2026-03-01 3/150 2026-03-01 14:27 by zzxw520th
[考研] 调剂 +3 简木ChuFront 2026-02-28 3/150 2026-03-01 11:46 by 王伟要上岸啊
[考博] 博士自荐 +4 kkluvs 2026-02-28 4/200 2026-03-01 10:19 by 馥安馥安
[考研] 材料调剂 +4 爱擦汗的可乐冰 2026-02-28 4/200 2026-03-01 00:38 by 猫猫球alter
[基金申请] 面上模板改不了页边距吧? +5 ieewxg 2026-02-25 6/300 2026-03-01 00:10 by addressing
[高分子] 求环氧树脂研发1名 +3 孙xc 2026-02-25 11/550 2026-02-28 16:57 by ichall
信息提示
请填处理意见