常用语句

纯粹为了自己使用方便

Liting Mai (麦李婷)

MWRT服务器上运行:

h5fc dpr_mwradar.f90 /data04/1/mlt/mwrt/mwsim/src/rdcmd.c -mcmodel=medium -L/data04/1/mlt/mwrt/mwsim/lib -lrad -lmwrt -llap -o mwradar.exe

MWRT服务器上运行,链netcdf库:

h5fc dpr_mwradar.f90 /data04/1/mlt/mwrt/mwsim/src/rdcmd.c -mcmodel=medium -L/data04/1/mlt/mwrt/mwsim/lib -lrad -lmwrt -llap -I/home/hjh/netcdf/include -L/home/hjh/netcdf/lib -lnetcdff -lnetcdf -o mwradar.exe

MWRT服务器上并行,链netcdf库:

mpif90 global_par_mpi.f90 /data04/1/mlt/mwrt/mwsim/src/rdcmd.c -mcmodel=medium -L/data04/1/mlt/mwrt/mwsim/lib -lrad -lmwrt -llap -I/home/hjh/netcdf/include -L/home/hjh/netcdf/lib -lnetcdff -lnetcdf -o test.exe

服务器后台运行:

nohup ./mwradar.exe > /dev/null 2>&1 &

conda进入D盘,直接在页面输入:

 >d:

读取txt文件前20行:

head -20 qx.txt

Ubuntu进入root:

su - root