⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 mfold
💻
字号:
June 2005.                       INSTALLATION of mfold 3.2NB: Starting with version 3.2, plotting and secondary structuredrawing software is NO LONGER PART OF mfold. These programs are partof mfold_util. You must setup the mfold_util software beforeinstalling mfold. You do not require most of the programs inmfold_util. The interactive graphics programs that require OpenGl arenot required. However, boxplot_ng, sir_graph_ng, tgd, tgd_png andtgd_jpg are all essential.--------------------------------------------------------------------------A. The makefile--------------------------------------------------------------------------The file, "Makefile", contains instructions for compiling theprograms.  The first portion of "Makefile" must be edited. A number ofparameters should be set.1. FFLAGS: This must be set. At the least, the Fortran compiler mustbe able to accept lines longer that the standard 80 columns, and a"static" option must be selected so that variables do not changein functions or subroutines between calls. A number of options havebeen made available, including one for "Gnu Fortran", g77. The levelof optimization should be as high as possible.2. CFLAGS: Choose the highest level of optimization that works.3. FTN, CC and C++: Define the Fortran, C and C++ compilers,respectively. For example, 'CC' could be gcc (Gnu C), or 'C++' couldbe C++.4. BINDIR, DATDIR: These are optional. If defined, BINDIR is wherethe binaries and scripts will be copied, and DATDIR is where theenergy files, images, and other data will be copied.------------------------------------------------------------------------------B. Environment variables and Path------------------------------------------------------------------------------1. Define MFOLDDAT to point to DATDIR as defined in "Makefile".    If the commandmake installis not issued, then DATDIR is not used. In this case, MFOLDDAT shouldpoint to the 'dat' subdirectory of where the mfold package is stored.2. Make sure that all binaries are on your path. If you wish, you can   define an environment variable, MFOLD, that points to where the   mfold package is stored. In this case, you should add $MFOLD/bin   to your path. This can be accompished (for example) by adding:export PATH=$MFOLD/bin:$PATHto your $HOME/.profile file, or to the system /etc/profile file.--------------------------------------------------------------------------C. Compilation--------------------------------------------------------------------------Assuming that you have not downloaded ready-to-run binaries, you mustcompile the programs in the package.In general, the command:make allwill create all binaries and place them in the bin subdirectory, wherethey will be stripped.  If you set FFLAGS to create statically linkedbinaries, then you should remove the "strip" statement from"Makefile".  You may compile individual programs if you wish.The command:make installwill do the same as 'make all' and will copy the contents of the binsubdirectory into BINDIR as defined in Makefile. The command:make cleanwill perform a cleanup by erasing object modules and binaries inthe bin subdirectory.Please report bugs, other problems or suggestions to zukerm@rpi.eduLook at the files in the "doc" directory, especially the manual, whichis in PostScript, pdf and HTML form.          __________________________________________________

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -