1,安转QT 3.0.7
首先在.chsrc中设置环境变量
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man #:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
接下来 .configure
make(出现错误提示,解决问题文件:QT QTE Qtopia 安装问题集锦.txt)
make install
检验:到cd /usr/local/qt/examples/demo/下
运行
./demo
2,安装perl,用perl -v
查看了版本,5.10满足了要求,所以没有在安转。(系统采用Fedora release 13 (Goddard),系统在安装之前,已经把一些编译需要的软件安装了,默认没有安装)
3,安转Fortran 编译器
采用了IFC_V7 – Inter(R) Fortran 编译器,版本7.0/7.1
这个安转很简单,下载后,直接运行./install即可,www.linuxidc.com当然您需要个许可文件,放在rpm包一起。这个许可文件到intel官方网站可以免费获得个文件,通过邮件获取,例如:EVAL_L_CMP_FOR_VGTR-3L7SL9XT.lic
4,开始安转bernese 5.0
sh setup.sh
这时因为没有uncompress这个解压软件,但系统中有gunzip,所以把
gunzip 链接为了uncompress.
下面是部分安装时信息:
LIB/FOR/SLR2COS.f90
LIB/FOR/SMCLKI.f
LIB/FOR/SMINPF.f90
LIB/FOR/SMINPN.f90
LIB/FOR/SMOOTH.f
LIB/FOR/SMPELV.f
LIB/FOR/SMPRNG.f
LIB/FOR/SMWTCD.f
LIB/FOR/SMWTPH.f
LIB/FOR/SNDIFF.f
LIB/FOR/SNGDET.f
LIB/FOR/SNGHDL.f
LIB/FOR/SNGSLP.f
LIB/FOR/SNGSOL.f
LIB/FOR/SOLINT.f
LIB/FOR/SOLVE.f
LIB/FOR/SORT.f
LIB/FOR/SORTBS.f
LIB/FOR/SPLARG.f90
LIB/FOR/SPLSTR.f
LIB/FOR/SPROD.f
LIB/FOR/SPVSTORE.f90
LIB/FOR/ST1DIU.f
LIB/FOR/ST1L1.f
LIB/FOR/ST1SEM.f
LIB/FOR/ST2DIU.f
LIB/FOR/ST2LON.f
LIB/FOR/ST2TIM.f
LIB/FOR/ST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f90
LIB/FOR/WTHEAD2.f90
LIB/FOR/WTIEPI.f
LIB/FOR/WTIXDT.f
LIB/FOR/WTIXFL.f
LIB/FOR/WTIXHD.f
LIB/FOR/WTLERP.f
LIB/FOR/WTLIEP.f
LIB/FOR/WTMSGS.f
LIB/FOR/WTNUTM.f90
LIB/FOR/WTNUTM_O.f
LIB/FOR/WTOBSI.f
LIB/FOR/WTPCF2.f90
LIB/FOR/WTPOLE.f90
LIB/FOR/WTPOLH.f
LIB/FOR/WTPOLI.f
LIB/FOR/WTPREH.f
LIB/FOR/WTPREI.f
LIB/FOR/WTRESH2.f90
LIB/FOR/WTRESI.f
LIB/FOR/WTSATH.f
LIB/FOR/WTSATI.f
LIB/FOR/WTSKEL.f
LIB/FOR/WTSTAT.f
LIB/FOR/WTSTAX.f90
LIB/FOR/WTSUBM.f
LIB/FOR/WTTRPE.f90
LIB/FOR/WTTRPSNX.f90
LIB/FOR/WTVELO.f
LIB/FOR/XYZELE.f
LIB/FOR/XYZELL.f
LIB/FOR/XYZLOC.f
LIB/FOR/XYZTIM.f
LIB/FOR/YPOL.f
LIB/FOR/YPOLRP.f
MENU/
MENU/BSWD.pl
MENU/bnp.cpp
MENU/bnp.h
MENU/bpe.cpp
MENU/bpe.h
MENU/bpedial.cpp
MENU/bpedial.h
MENU/bpeinp.cpp
MENU/bpeinp.h
MENU/bpelog.cpp
MENU/bpelog.h
MENU/canvas.cpp
MENU/canvas.h
MENU/chngen.cpp
MENU/chngen.h
MENU/cpufile.cpp
MENU/cpufile.h
MENU/datedial.cpp
MENU/datedial.h
MENU/errormsg.cpp
MENU/errormsg.h
MENU/field.cpp
MENU/field.h
MENU/graphwin.cpp
MENU/graphwin.h
MENU/initmenu.cpp
MENU/initmenu.h
MENU/inpfile.cpp
MENU/inpfile.h
MENU/juldat.cpp
MENU/juldat.h
MENU/keydesc.cpp
MENU/keydesc.h
MENU/keyword.cpp
MENU/keyword.h
MENU/lockfile.cpp
MENU/lockfile.h
MENU/mainwin.cpp
MENU/mainwin.h
MENU/mainwin2.cpp
MENU/menstyle.cpp
MENU/menstyle.h
MENU/menu.cpp
MENU/menu.h
MENU/menu.ico
MENU/menu.pro
MENU/menu.rc
MENU/menu.sh
MENU/menutils.cpp
MENU/menutils.h
MENU/mycheck.cpp
MENU/mycheck.h
MENU/mycombobox.cpp
MENU/mycombobox.h
MENU/myfildlg.cpp
MENU/myfildlg.h
MENU/myhtml.cpp
MENU/myhtml.h
MENU/mylineedit.cpp
MENU/mylineedit.h
MENU/myqlist.h
MENU/myspinbox.cpp
MENU/myspinbox.h
MENU/panel.cpp
MENU/panel.h
MENU/pcffile.cpp
MENU/pcffile.h
MENU/r_dir.cpp
MENU/r_dir.h
MENU/r_file.cpp
MENU/r_file.h
MENU/runpgm.cpp
MENU/runpgm.h
MENU/script.cpp
MENU/script.h
MENU/seldial.cpp
MENU/seldial.h
MENU/selwin.cpp
MENU/selwin.h
MENU/server.cpp
MENU/server.h
MENU/session.cpp
MENU/session.h
MENU/textwin.cpp
MENU/textwin.h
MENU/tst_client.pl
MENU/uniline.cpp
MENU/uniline.h
MENU/updpan.cpp
MENU/updpan.h
PGM/
PGM/FOR/
PGM/FOR/ABBO2N.f90
PGM/FOR/ADDNEQ2.f90
PGM/FOR/AMBCHK.f
PGM/FOR/ASC2EPH.f
PGM/FOR/BASLST.f90
PGM/FOR/BINMERGE.f
PGM/FOR/BINSHORT.f
PGM/FOR/BRDTAB.f
PGM/FOR/BRDTST.f
PGM/FOR/BV3RXN.f
PGM/FOR/BV3RXO.f
PGM/FOR/CCPREORB.f
PGM/FOR/CCRINEXG.f
PGM/FOR/CCRINEXN.f
PGM/FOR/CCRINEXO.f
PGM/FOR/CCRNXC.f90
PGM/FOR/CHGHED.f90
PGM/FOR/CHOPRE.f90
PGM/FOR/CLKEST.f
PGM/FOR/CODCHK.f
PGM/FOR/CODSPP.f
PGM/FOR/CODXTR.f
PGM/FOR/COMPAR.f
PGM/FOR/COOSYS.f
PGM/FOR/COOVEL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O2N.f90
PGM/FOR/STDDIF.f
PGM/FOR/STDELE.f
PGM/FOR/STDFMT.f
PGM/FOR/STDPRE.f
PGM/FOR/SUBDIF.f
PGM/FOR/TBLO2N.f90
PGM/FOR/TESTEPH.f
PGM/FOR/TROTRO.f90
Perl program used [ /usr/bin/perl ] :
=====================================
CONFIGURATION OF THE BERNESE SOFTWARE
=====================================
0 … Complete Installation (Steps 1 to 4)
1 … Update LOADGPS.setvar
2 … Add a new user
3 … Compile Bernese menu
4 … Compile Fortran programs
5 … Install Example Campaigns
X … Exit
Enter option: 0
Information about compiler tests for OS LINUX:
1: Tested at AIUB: LINUX 2.4.10 – 6.2b
Patchlevel 6.2a does not work!
2:
3: Tested at AIUB: LINUX 2.4.10 – Intel(R) Fortran Compiler, Version 6.0
Build 020312Z
4: Tested at AIUB: LINUX 2.4.22 – Intel(R) Fortran Compiler, Version 7.0
Build 20021028Z (no final tests)
LINUX 2.6.4 – Intel(R) Fortran Compiler, Version 7.0
Build 20021028Z
LINUX 2.4.21-99 – Intel(R) Fortran Compiler,
Version 7.1 Build 20030307Z (no final tests)
Linux leo 2.4.25 – Intel(R) Fortran Compiler,
Version 7.1 Build 20030307Z
5: Tested at AIUB: LINUX leo 2.4.25 – Intel(R) Fortran Compiler,
Version 8.1 Build 20041019Z
6: Tested at AIUB: LINUX 2.4.22 – pgf90 5.0-2 (no final tests)
LINUX 2.6.4 – pgf90 5.1-3
7: Use “OTHER” compiler options in file $X/EXE/CMPOPT.pl
Select Compiler for OS LINUX:
1: LF95_V62
2: NAGF90
3: IFC_V6
4: IFC_V7
5: IFC_V8
6: PG_F90
7: OTHER
www.linuxidc.com
Select [1]: 4
Select Memory Model:
1: SMALL
2: MEDIUM
3: LARGE
Select [3]: 3
Current Values:
————–
VARIABLE DESCRIPTION VARIABLE NAME VARIABLE VALUE
1 : Path to the Bernese software C => /home/zhao/BERN50
2 : Path to QT-lib for Bernese QTBERN => /usr/local/qt
3 : Operating system group OS => UNIX
4 : Name of the operating system OS_NAME => LINUX
5 : Fortran compiler name F_VERS => IFC_V7
6 : Memory model for compilation MEMSIZE => LARGE
7 : Host of the BPE server BPE_SERVER_HOST => zhao.pc
8 : Path to temp. user environment T => ${HOME}/GPSTEMP
9 : Path to user environment U => ${HOME}/GPSUSER
10 : Path to campaign directory P => ${HOME}/GPSDATA
Do you accept the values (y/n):y
File /home/zhao/BERN50/GPS/EXE/LOADGPS.setvar has been updated
An user environment exists already: /home/zhao/GPSUSER
Update files (y/n):y
Copying menu and program input files…
Copying BPE user scripts…
Copying examples for process control files…
Copying BPE options for processing examples…
Copying ICONS …
Extracting ICONS …
*******************************************
* User area for user zhao has been added *
*******************************************
Running the compilation of the Menu.
It can take a while …
It depends on the computer performance.
All compilation output is redirected into file
/home/zhao/BERN50/MENU/MENUCOMP.log
**************************************
* Bernese menu compiled successfully *
**************************************
Running the compilation of the Fortran programs.
It can take a while …
It depends on the computer performance.
All compilation output is redirected into file
/home/zhao/BERN50/GPS/EXE/COMPLINK.log
******************************************
* Fortran programs compiled successfully *
******************************************
=====================================
CONFIGURATION OF THE BERNESE SOFTWARE
=====================================
0 … Complete Installation (Steps 1 to 4)
1 … Update LOADGPS.setvar
2 … Add a new user
3 … Compile Bernese menu
4 … Compile Fortran programs
5 … Install Example Campaigns
X … Exit
Enter option: 5
Extracting example campaign EXAMPLE…
Installation of the example campaigns has been finished
ATTENTION:
When you are going to run them, please make sure that your
user scripts are still not modified.
=====================================
CONFIGURATION OF THE BERNESE SOFTWARE
=====================================
0 … Complete Installation (Steps 1 to 4)
1 … Update LOADGPS.setvar
2 … Add a new user
3 … Compile Bernese menu
4 … Compile Fortran programs
5 … Install Example Campaigns
X … Exit
Enter option:
安转完后,如何运行还是个问题,需要把这行
source /home/zhao/BERN50/GPS/EXE/LOADGPS.setvar
加入到.cshrc中去。这样在终端下,输入G回车,即可出现bernese界面。
当然您可以在桌面上做个启动器,命令为自己编写的脚本:
#!/bin/csh
source /home/zhao/BERN50/GPS/EXE/LOADGPS.setvar
G
保存为可执行文件。
桌面图标需要自己更改下,用gimp修改为png后缀图标。
(在/home/zhao/BERN50/MENU下有图标menu.ico)