shanbin的个人博客分享 http://blog.sciencenet.cn/u/shanbin

博文

按标题搜索
Linux下查看文件夹的大小
热度 1 2014-9-17 09:58
du -d 1 -h (du: disk usage; -d 1: 显示一级目录的文件夹; -h:显示方式,比如kb/Mb等 ) df -h (df: disk free)
个人分类: Linux学习|2727 次阅读|1 个评论 热度 1
常见的查看MPI进程的命令
2014-7-11 15:01
qstat : 查看当前的进程,例如 Job ID Name User Time Use S Queue ------------------------- ---------------- --------------- -------- - ----- ...
个人分类: Linux学习|5000 次阅读|没有评论
fortran下调用系统命令
2014-2-11 08:42
例如 character(80) line line = 'cp Best_models'//trim(chdm)//'.dat Backup_best_models'//trim(chdm)//'.dat' call system( line )
个人分类: Fortran学习|7483 次阅读|没有评论
Uncertainties of Elevation, SHF, Geoid @ LitMod
2013-10-25 13:14
Based on the theoretic limits, In the file of input_data1.dat, the minimum uncertainties of elevation, geoid and SHF should be 100-150 m, 1.5m and 5 mWm -2 , respectively.
个人分类: Litmod|3439 次阅读|没有评论
Shell (csh)下的一些命令
2013-10-4 14:24
1. 多个文件的循环 foreach event (20*) end 2. 判断存在与否 if( -d $event) then | -d 判断文件夹是否存在 if( -e flag_SNR.dat) | -e 判断文件是否存在 ! -e 文件不存在为真 3. touch flag.dat | 生成一个空文 ...
个人分类: Linux学习|14942 次阅读|没有评论
Fortran 生成0-1之间的随机数
2013-8-8 16:16
The program for generating a random number between 0 - 1 random_seed() random_number() 1. 根据seed大小生成一个0-1的随机数列表,random_number从中按顺序读取列表中的随机数。 2. 因此,首先需要产生seed,指定列表中的位置() seed范围『1,2147483398』 常用方法一: call random_seed( ...
个人分类: Fortran学习|17234 次阅读|没有评论

本页有 4 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-1 20:39

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部