<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/feverforce</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; feverforce]]></copyright><item><title><![CDATA[Ubuntu 11.10 - 12.04 "Waiting for network configuration" on booting]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/7734949</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/7734949</guid><author>feverforce</author><pubDate>Wed, 11 Jul 2012 05:33:59 +0800</pubDate><description><![CDATA[原文在这里，总结一下就是修改
/etc/network/interfaces只留两行：
auto lo
iface lo inet loopback]]></description><category></category></item><item><title><![CDATA[Infiniband的OFED package安装及vasp编译]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/6432491</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/6432491</guid><author>feverforce</author><pubDate>Thu, 19 May 2011 16:37:00 +0800</pubDate><description><![CDATA[<br />基本上按照doc里面的指示就差不多了，这里记录一些细节：<br /> <br />1. 执行./install.sh之后不要急着开始， ctrl+C 取消之后编辑ofed.conf文件，把不需要的东西去掉（我安装的时候把mpitest全部取消了，因为它总说找不到某个lib文件，但这个文件是在lib目录里面的，而且这些mpitest也没啥大用，还是得编译测试vasp）<br /> <br />2. 第一次安装的时候因为要编译rpm包所以会很慢，后面的就可以编辑ofed.net文件在别的机器上较快的]]></description><category></category></item><item><title><![CDATA[Comparison operator in shell]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/6411982</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/6411982</guid><author>feverforce</author><pubDate>Wed, 11 May 2011 14:59:00 +0800</pubDate><description><![CDATA[http://www.unix.com/shell-programming-scripting/120511-if-clause-problem-err-integer-expression-expected.html<br />
A binary comparison operator compares two variables or quantities. Note that integer and string comparison
use a different set of operator]]></description><category></category></item><item><title><![CDATA[脚本备份]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/6397011</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/6397011</guid><author>feverforce</author><pubDate>Thu, 05 May 2011 15:36:00 +0800</pubDate><description><![CDATA[#!/bin/bash
id | grep root >/dev/null
if [ $? != 0 ]; then
        disk_spare=`df -h | grep export | awk -F'[ ]+|%' '{print $4}'`
        df=`df -h | grep export | awk -F'[ ]+|%' '{print $5}'`
        if [ $df -gt 95 ]; then
                echo -e "]]></description><category></category></item><item><title><![CDATA[sed和awk中使用shell变量]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/6315743</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/6315743</guid><author>feverforce</author><pubDate>Mon, 11 Apr 2011 15:47:00 +0800</pubDate><description><![CDATA[转载自 jrckkyy最终编辑 zengzhaonong

sed和awk中使用shell变量
----------------------------------------------
x=MM
sed 's/AB/'$x'/g' b.c
或
sed 's/AB/'"$x"'/g' b.c
sed 's/'"$val"'//' urfile
最近做预料处理，使用bash脚本，需要在脚本的sed和awk使用shell变量以控制循环，出现一些问题后找到解决办法如下：
1.sed使用she]]></description><category></category></item><item><title><![CDATA[linux下用命令批量修改替换文件内容]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/6315724</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/6315724</guid><author>feverforce</author><pubDate>Mon, 11 Apr 2011 15:42:00 +0800</pubDate><description><![CDATA[在linux入侵之后，我们要清除留下的一些痕迹，比如apache留下的日志.但是对于ssh登陆日志比如/var/log/wtmp 和 lastlog这类二进制文件，sed命令就爱莫能助了.
Linux下批量替换多个文件中的字符串的简单方法。用sed命令可以批量替换多个文件中的字符串。
用sed命令可以批量替换多个文件中的字符串。
sed -i "s/原字符串/新字符串/g" `grep 原字符串 -rl 所在目录`(千万注意这个符号，是最左上角那个符号不是单引号)
例如：我要把/test下所有包含a]]></description><category></category></item><item><title><![CDATA[Install libstdc++.so.5 on Ubuntu 10.10 or 10.04 or 9.10]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/6132431</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/6132431</guid><author>feverforce</author><pubDate>Wed, 12 Jan 2011 19:38:00 +0800</pubDate><description><![CDATA[If you try installing Intel Fortran Compiler on Ubuntu 10.10 Maverick
 Meerkat or 10.04 Lucid Lynx or Karmic Koala, it is going to throw the 
error:
error while loading shared libraries: libstdc++.so.5The original libstdc++5 package is no longer availab]]></description><category></category></item><item><title><![CDATA[grep/sed 匹配变量]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/6063781</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/6063781</guid><author>feverforce</author><pubDate>Wed, 08 Dec 2010 18:53:00 +0800</pubDate><description><![CDATA[<br />一定要用 ‘ ’将命令与变量分离，嗯<br />grep -w ''${names[$i]}'$' filename]]></description><category></category></item><item><title><![CDATA[编译vasp 5.2]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/5714827</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/5714827</guid><author>feverforce</author><pubDate>Mon, 05 Jul 2010 23:09:00 +0800</pubDate><description><![CDATA[买了新机器：联想万全520 G7，虽然是1U机架却上了两个Xeon E5520 CPU；想着跟之前也是Intel CPU的机器差不多就把vasp 4.6的makefile改改拿来编译
FFLAGS = -I/export/intel/mkl/9.0/include/fftw -FR -lowercase -assume byterecl
OFLAG=-O3 -xT -tpp7
OFLAG_HIG]]></description><category></category></item><item><title><![CDATA[Error EDDDAV: Call to ZHEGV failed]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/5714734</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/5714734</guid><author>feverforce</author><pubDate>Mon, 05 Jul 2010 22:24:00 +0800</pubDate><description><![CDATA[ 在AMD平台上遇到了个问题，Intel的似乎没出现过(原文地址
）Compilation of VASP on Opteron/Rocks cluster Ametisti
with Pathscale 2.2.1 Fortran compiler
These observations apply to the serial version of VASP.
The parallel section dealing with VASP on Ametisti
using the MPI inte]]></description><category></category></item><item><title><![CDATA[Curve fitting in Matlab]]></title><link>https://blog.youkuaiyun.com/feverforce/article/details/5714704</link><guid>https://blog.youkuaiyun.com/feverforce/article/details/5714704</guid><author>feverforce</author><pubDate>Mon, 05 Jul 2010 22:12:00 +0800</pubDate><description><![CDATA[cftool is sufficient in most cases, though it can not fit data to more than two independent variables(R2009a)：

Technical Solutions Is it possible to fit data to more than two independent 
variables using Curve Fitting Toolbox 2.0 (R2009a)? Date Last Mo]]></description><category></category></item></channel></rss>