📄 node64.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>H Example of environment file: </TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="H Example of environment file: "><meta name="keywords" value="Guide1"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html941 HREF="node63.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html945 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html947 HREF="node65.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html949 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide1-18/node64.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide1-14/node64.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide1-10/node64.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html948 HREF="node65.html">References</A><B>Up: </B> <A NAME=tex2html946 HREF="node48.html">Part IV: Appendices</A><B> Prev: </B> <A NAME=tex2html942 HREF="node63.html"> Print command: prf_f3d</A><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION06800000000000000000>H Example of environment file: </A></H1> <A NAME=apppart4> </A> <P><BR><HR><P><P>Files <b> .profile</b> et <b> .cshrc</b> enable you to constitute your own environment whenlogging yourself onto your machine.<P>File <b> modulef.csh</b> is used in a <b> C Shell</b> environment.A source file of it can be produced in file <b> .cshrc</b>, belonging to all MODULEF users, enabling the users to obtain the MODULEF environment.<P>An example of file <b> modulef.csh</b>:<P><PRE># Csh environment# Example on HP/Apollo INRIA## Assignment of the basis variables:setenv MM apollosetenv MR /udd2/modulefsetenv MV sta # Assignment of other variables for abreviation:setenv mb $MR/ascii/com.utilsetenv ms $MR/ascii/sta/ssetenv mo $MR/$MM/$MV/libset path = ($path $MR/$MM/com.util $MR/$MM/$MV/bin)# Assignment of variables for the compilation and linking:# It is possible to have non-statisfied references during linking:## F77 : compilation command for Fortran programs# OPTION_F77 : Fortran compilation option # CC : compilation command for c programs# OPTION_CC : c compilation option# LINK : link command# LINKR : link command with bit relocation# STDLIB : libraries to include when linking# DEST : optionto redirect the output file when linking##setenv F77 f77setenv CC ccsetenv OPTION_F77 "-c -W0,-overlap,dd,dc,-indexl,-pic,-idir,$MR/ascii/$MV/s/include"setenv OPTION_CC '-c -W0,-indexl,-pic'setenv LINK 'ld -A noallres -A alllooks -A allmarks -a -r'setenv LINKR 'ld -r'setenv STDLIB ''setenv DEST '-W0,-b,'# Proposition for compilation and link commands on other machines# - RS6000 : # setenv F77 xlf ; setenv CC cc# setenv OPTION_F77 "-c -I$MR/ascii/sta/s/include"# setenv OPTION_CC "-c -I$MR/ascii/sta/s/include"# setenv LINK 'xlf'# setenv LINKR 'ld -r'# setenv STDLIB '-lX11 -lXext'# setenv DEST '-o '## - silicon : # setenv F77 f77 ; setenv CC cc# setenv OPTION_F77 "-c -G 3 -col77 -I$MR/ascii/sta/s/include"# setenv OPTION_CC "-c -G 3 -I$MR/ascii/sta/s/include"# setenv LINK 'f77 -G 3'# setenv LINKR 'ld -r'# setenv STDLIB '-lgl -lfgl -ldgl -lX11'# setenv DEST '-o ' ## - sun :# setenv F77 f77 ; setenv CC cc # setenv OPTION_F77 "-c -ansi -i4 -I$MR/ascii/sta/s/include"# setenv OPTION_CC "-c -I$MR/ascii/sta/s/include"# setenv LINK 'f77 -Bstatic'# (ou) setenv LINK 'f77 -Bdynamic'# setenv LINKR 'ld -r'# setenv STDLIB '-lsuntool -lsunwindow -lpixrect -lX11 '# setenv DEST '-o '</PRE><P><HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html941 HREF="node63.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html945 HREF="node48.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html947 HREF="node65.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html949 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide1-18/node64.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide1-14/node64.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide1-10/node64.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html948 HREF="node65.html">References</A><B>Up: </B> <A NAME=tex2html946 HREF="node48.html">Part IV: Appendices</A><B> Prev: </B> <A NAME=tex2html942 HREF="node63.html"> Print command: prf_f3d</A><B><A HREF="node2.html" >Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -