-
For Fortran compiler: -fdefault-real-8 -fdefault-double-8
-
When writting Python code and generate a new file. Always close a file after using it.
-
use zip -r folder.zip folder, and unzip folder to compress and uncompres files
-
Long range interaction might be importance for CO2 hydrate clathrate.
-
Bas's Library fitting routine is weighted while in MSA ther is no weight. The benefit of weighting in Bas's library is that the extremely big data won't affact too much.
-
Molpro could result in problem such as
GLOBAL ERROR fehler on processor 0
-
About compiler: ifort is Intel's commercial compiler. mkl is Intel's math kernal library.(This one can be downloaded for free)--
https://software.intel.com/en-us/intel-mkl
mkl is located atcd /opt/intel/mkl/
-
PGI, pgf90 is another option for compiler.
https://www.pgroup.com/purchase/freepgi.php
You need to download a lisence to the/opt/pgi/
aslisence.dat
file. A developer free version lisence can be obtained through NVIDIA OpenACC Toolkit programe. Ater installation and activation, you can open configured terminal in/opt/pgi/
, for example,open pgdbg64.app
. Then you can use commands such aspgf90
to complie your Fortran codes. Or, as Mac user, you can add the following command in the Terminal>>Preference>>Profiles>>(your default terinal)>>Shell>>Startup, check Run command and Run inside shell, and enter:setenv PATH /opt/pgi/osx86-64/2016/bin:/opt/pgi/osx86-64/2016/mpi/mpich/bin:$PATH;export PATH=/opt/pgi/osx86-64/2016/bin:/opt/pgi/osx86-64/2016/mpi/mpich/bin:$PATH; clear
-
Use
printenv
to print global variable. -
Use
tar -vzvf 'test.tar' *
to compress all current files.tar -czvf 'test.tar.bz2' *
is even better. In order to unzip:tar -xzvf archive.tar.gz
-
Use
grep -r 'string' ./
to search for string in the all files in current folder. -
Simply fit the feature if you have only one feature. But for a 4000 * 904 matrix, you have to think about it.