Coder Social home page Coder Social logo

hpctips's Introduction

Tips

  • In open source configure/make, instead of $INCLUDE or $C_INCLUDE_PATH, use $CPATH
  • Ex: export CPATH+=:/usr/local/mpich/3.3.1_intel18/include

multi_block.xmf

... An example of distributed parallel visualization. ... Among 200x3 position data, 100x3 and 100x3 are splitted and each of two processors in paraviewl will be responsible for each block.

installation note

libunwind: ./configure --prefix /home/hpjeon/hw/libunwind

mpiP: ./configure --prefix=/home/hpjeon/hw/mpiP --with-cc=mpicc --with-f77=mpifort CFLAGS=-I/home/hpjeon/hw/libunwind/include LDFLAGS=-L/home/hpjeon/hw/libunwind/ lib --enable-collective-report-default

References

download all git repositories of a user

for i in `curl -s https://api.github.com/users/hpjeonGIT/repos?per_page=1000 |grep git_url |awk '{print $2}'| sed 's/"\(.*\)",/\1/'`; do  git clone $i;  done

Using https for git

  • When ssh key authentication fails
  • One time activity
  • Make a dummy project
  • cd some_folder
  • git pull https://github.com/.../myproject.git
  • This download all the git setup as well
  • Backup activity
  • cd some_folder
  • git add *; git commit -m "my commit"
  • git push --set-upstream https://github.com/.../myproject.git master
  • When total file size > 1MB, gitlab may not upload. Check configuration

git on windows

  • git from cmd window or github desktop may yield timed out, failing to download all of submodules
  • find a location like c:\TMP or shorter folder name, not c:\users....

pdsh command

  • shell command for multiple nodes
  • When there are cluster1, cluster2, ... cluster99 nodes,
  • pdsh -w cluster[1-99] uptime

ssh key renew

  • Delete or backup old .ssh folder
  • ssh-keygen;cd .ssh; echo “StrictHostKeyChecking no” > config; cat id_rsa.pub > authorized_keys; chmod 600 authorized_keys
  • Run pdsh all nodes to update ssh key

trace routing

  • Windows: tracert cnn.com
  • Linux: traceroute cnn.com
  • Shows time taken by gateway, b/w server and hosts

hpctips's People

Contributors

hpjeongit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.