| 查看: 1716 | 回复: 9 | ||
[求助]
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. |
» 猜你喜欢
拟解决的关键科学问题还要不要写
已经有8人回复
求推荐英文EI期刊
已经有5人回复
最失望的一年
已经有8人回复
存款400万可以在学校里躺平吗
已经有27人回复
请教限项目规定
已经有4人回复
推荐一本书
已经有16人回复
国自然申请面上模板最新2026版出了吗?
已经有20人回复
26申博
已经有3人回复
基金委咋了?2026年的指南还没有出来?
已经有10人回复
基金申报
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
Fortran数据读入格式的修改
已经有5人回复
土壤的铅和镉怎么消解出来啊?越简单越好,最好不用氢氟酸
已经有11人回复
如何改变fortran的浮点精度
已经有28人回复
Fortran有EOF文件结尾么?
已经有7人回复
三维数组换行输入到文件(intel fortran 编译器)
已经有6人回复
【求助】FORTRAN写文件时每行开头都多了一个空格?
已经有6人回复
【求助】固体废弃物综合处理思路
已经有47人回复
【求助】CAJ文件打开没内容
已经有7人回复
【求助】Fortran程序,如何让exe文件可以单独运行?
已经有6人回复
【求助】Fortran 如何读取文件中特定行的内容
已经有16人回复
【求助】matlab读取fortran输出的txt文件【已解决】
已经有3人回复
投稿后一周,被退回修改,说语言不过关
已经有49人回复
weiwei43
至尊木虫 (正式写手)
- 应助: 16 (小学生)
- 金币: 18316.1
- 红花: 6
- 帖子: 737
- 在线: 94.7小时
- 虫号: 250282
- 注册: 2006-05-13
- 专业: 机械动力学
2楼2012-09-01 09:19:38
|
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
|
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
5楼2012-09-01 11:28:34
6楼2012-09-01 15:16:28
7楼2012-09-01 15:30:37
|
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
9楼2012-09-01 16:13:40
10楼2012-09-03 00:06:17













回复此楼