24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1835  |  回复: 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的回帖

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的回帖
查看全部 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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求助调剂,跨调 +11 X十甫寸Y 2026-04-11 11/550 2026-04-11 23:49 by 学zh
[考研] 291求调剂 +7 关忆北. 2026-04-11 7/350 2026-04-11 23:48 by baobaoye
[考研] 求调剂 +6 电气300求调剂不 2026-04-08 6/300 2026-04-11 20:14 by 逆水乘风
[考研] 269求调剂 +11 啊啊我我 2026-04-07 11/550 2026-04-11 16:45 by vgtyfty
[考研] 366求调剂 +7 不知名的小卅 2026-04-11 7/350 2026-04-11 16:45 by PeggyPeng17
[考研] 305求调剂 +5 77Qi 2026-04-07 5/250 2026-04-11 11:45 by zhq0425
[考研] 300分求调剂 (085501机械专硕,本科扬大) +8 xu@841019 2026-04-11 8/400 2026-04-11 10:46 by qingpingzhu
[考研] 求调剂288 +6 ioodiiij 2026-04-10 8/400 2026-04-10 21:07 by zhouxiaoyu
[考研] 计算机类求调剂,22408-274分 +7 上岸de小虫 2026-04-09 8/400 2026-04-10 19:56 by fxue1114
[考研] 347材料专硕求调剂 +19 zj8215216 2026-04-06 19/950 2026-04-10 09:36 by 690616278
[考研] 085601初试330分找调剂 +10 流心奶黄包l 2026-04-09 10/500 2026-04-10 08:14 by Sammy2
[考研] 314求调剂 +14 weltZeng 2026-04-09 14/700 2026-04-09 23:14 by wolf97
[考研] 085501机械英二77总分294求调剂,接受跨专业学习 +6 守法公民亓纪 2026-04-08 6/300 2026-04-09 15:55 by wp06
[考研] 283电子信息求调剂 +4 三石WL 2026-04-08 4/200 2026-04-09 10:21 by wp06
[考研] 一志愿985初试354分生物调剂 +3 031001 2026-04-06 3/150 2026-04-09 00:30 by Evan_Liu
[考研] 296求调剂 +3 汪!?! 2026-04-08 3/150 2026-04-08 22:00 by zhouyuwinner
[考研] 调剂 +4 mcbbc 2026-04-06 5/250 2026-04-07 12:33 by upczlm1989
[考研] 生物与医药求调剂 +7 heguanhua 2026-04-05 8/400 2026-04-06 18:41 by macy2011
[考研] 085405软件工程301分求调剂,专硕可跨专业,四六级已过 +3 静静想想 2026-04-05 3/150 2026-04-06 15:23 by nepu_uu
[考研] 求调剂到材料 +5 程9915 2026-04-06 5/250 2026-04-06 15:21 by yulian1987
信息提示
请填处理意见