Skip to content

hpjeonGIT/Tips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d17f09b · Mar 18, 2025
Jun 25, 2018
Jul 31, 2018
Jan 11, 2025
Jan 10, 2024
Mar 26, 2021
Jul 27, 2020
Mar 5, 2020
Mar 1, 2019
Feb 8, 2023
Feb 7, 2023
Jan 27, 2019
Feb 14, 2020
Apr 1, 2019
Jun 25, 2018
Jul 6, 2024
Jun 17, 2017
Jan 18, 2023
May 14, 2021
Feb 15, 2025
Feb 27, 2022
Jul 13, 2020
Jun 28, 2018
Jun 17, 2017
Sep 13, 2018
Jun 24, 2024
Sep 15, 2024
Oct 17, 2018
Jan 22, 2021
Feb 26, 2020
Oct 1, 2016
Jan 10, 2023
Jun 18, 2016
Jun 18, 2016
Apr 18, 2024
May 15, 2018
Jun 22, 2020
Sep 11, 2024
Oct 17, 2019
Oct 21, 2019
Mar 2, 2019
Jan 27, 2019
Dec 4, 2018
May 9, 2019
Mar 17, 2019
Feb 23, 2020
Aug 28, 2018
Feb 18, 2020
Nov 25, 2019
Jun 11, 2021
Apr 26, 2022
Nov 28, 2017
Mar 18, 2025
Jun 12, 2024
Jan 13, 2021
Aug 5, 2019
Sep 11, 2018
Nov 5, 2019
Jan 7, 2019
Jun 13, 2024
Jan 30, 2019
Jun 30, 2023
Jan 30, 2024
Jun 8, 2022
Sep 28, 2021
Jan 10, 2019
Apr 27, 2019
Jul 14, 2021
Feb 18, 2020
Sep 3, 2021
Aug 24, 2019
Apr 13, 2022
Sep 14, 2021
Jan 31, 2019
Nov 5, 2019
Feb 11, 2020
Feb 18, 2019
Dec 23, 2019
Jan 20, 2025
Oct 15, 2022
May 14, 2019
Mar 18, 2024
Feb 1, 2019
Jan 17, 2019
Feb 6, 2019
Jan 15, 2019
Nov 1, 2018
Jul 13, 2018
Mar 26, 2019
Aug 28, 2018
Jun 6, 2019
May 9, 2024
Oct 23, 2021
Jan 13, 2021
May 16, 2022
Jun 15, 2022
Mar 31, 2021
Mar 9, 2019
Sep 3, 2021
Sep 21, 2018
Jun 14, 2022
Oct 25, 2021
Sep 24, 2020
Feb 3, 2025
Jan 4, 2019
Jun 2, 2023
Jan 21, 2021
Oct 6, 2021
Sep 15, 2021
Feb 1, 2019
Jan 24, 2025
Feb 11, 2020
Sep 25, 2019
Jun 12, 2016
Apr 13, 2024
Jan 29, 2024
Jun 17, 2017
Sep 10, 2024
Feb 20, 2016
Feb 21, 2016
Mar 16, 2020
Nov 27, 2019
Oct 20, 2024
Apr 8, 2022
Nov 15, 2024
May 7, 2024
Jan 29, 2019
Feb 21, 2016
Mar 14, 2020
Mar 12, 2024
Sep 27, 2023
Jun 19, 2017
Jan 26, 2024
Aug 29, 2023
Feb 17, 2021
May 21, 2020
May 16, 2024
Jan 8, 2020
Apr 25, 2020
Sep 30, 2024
Mar 2, 2022

Repository files navigation

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

  • As of July 2024:
for i in `curl -s https://api.github.com/users/hpjeonGIT/repos?per_page=1000 |grep git_url |awk '{print $2}'| sed 's/"\(.*\)",/\1/' | sed 's/git:/https:/'`; 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