cat <<EOF > $HOME/.minirc.dfl
pu localecho Yes
pu addlinefeed Yes
pu linewrap Yes
pu addcarreturn Yes
EOF

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Dados os dois anos abaixo, este programa exibe todas as datas | |
que são tanto palíndromas (capicuas) como ambigramas (rotacionais). | |
''' | |
ANO_INI = 2000 | |
ANO_FIM = 2100 | |
import datetime as dt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-03-27 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! -------------------------------------------------------------------------------------- | |
! | |
! 01. Purpose: Solves a simple eigenvalue/eigenvector problem in order to check | |
! for the zheev thread locking bug #1560 | |
! https://github.com/xianyi/OpenBLAS/issues/1560 | |
! | |
! 02. Compile and build | |
! | |
! export MAX_THREADS=4 | |
! export OPENBLAS_NUM_THREADS=$MAX_THREADS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! -------------------------------------------------------- | |
! compile command line: | |
! ifort -O2 -i8 -mcmodel=medium -qmkl=parallel ./hermitianEigen-small.f90 -o ./hermitianEigen-small ${MKLROOT}/lib/intel64/libmkl_lapack95_ilp64.a -L${MKLROOT}/lib/intel64 -lpthread -lm -ldl | |
! -------------------------------------------------------- | |
program hermitianEigen | |
use, intrinsic :: iso_fortran_env | |
use lapack95, only: heevd |
OlderNewer