# This is a Makefile
georoot=hfvmd001
geofile=$(georoot).geo
stlfile=$(georoot)_000.stl
netgenSTL:
netgen -batchmode -geofile=$(geofile) -meshfile=$(stlfile) -meshfiletype="STL Format"
This is not a blog, but my notes and tips for research. Feel free to take any information and leave any comments or questions.
Search This Blog
Saturday, October 28, 2017
Thursday, August 17, 2017
How to add and remove path
# in ~/bin/bashfun file
# add the following line in .bashrc
# . ~/bin/bashfun
add-intel ()
{
export PATH=/opt/intel/bin/:/opt/intel/compilers_and_libraries_2017.0.098/linux/mpi/intel64/bin/:$PATH
}
rm-intel ()
{
newpath=`echo $PATH | sed -e "s/\/opt\/intel\/bin\/://" | sed -e 's/\/opt\/intel\/compilers_and_libraries_2017.0.098\/linux\/mpi\/intel64\/bin\/://' `
# echo $newpath
export PATH=$newpath
}
# add the following line in .bashrc
# . ~/bin/bashfun
add-intel ()
{
export PATH=/opt/intel/bin/:/opt/intel/compilers_and_libraries_2017.0.098/linux/mpi/intel64/bin/:$PATH
}
rm-intel ()
{
newpath=`echo $PATH | sed -e "s/\/opt\/intel\/bin\/://" | sed -e 's/\/opt\/intel\/compilers_and_libraries_2017.0.098\/linux\/mpi\/intel64\/bin\/://' `
# echo $newpath
export PATH=$newpath
}
Tuesday, February 7, 2017
How to open google chrome with incognito mode as default
- Open /usr/share/applications/google-chrome.desktop
- sudo vi /usr/share/applications/google-chrome.desktop
- Find lines beginning with Exec and change
- /usr/bin/google-chrome-stable
- to
- /usr/bin/google-chrome-stable --incognito
Subscribe to:
Posts (Atom)
Labels
- Academic Notes (4)
- BLAS (1)
- CEE618 (2)
- CentOS (1)
- Computation (1)
- Conferences (1)
- Cross compiling (1)
- Graphics (1)
- Hawaii Tour (2)
- Intel compiler (1)
- Just (1)
- Laptop (1)
- LaTex (22)
- Life and Humanity (8)
- Linux and Computing (107)
- LSF (1)
- Lyx (3)
- Macintosh (5)
- MPI (1)
- News (11)
- OpenFoam (1)
- OpenMPI (1)
- PBS (2)
- Software (4)
- SSH (2)
- torque (1)
- Touchpad (1)
- VMD (1)
- yum (1)