howtos:how_to_compile_peakfq_on_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:how_to_compile_peakfq_on_linux [2024-09-23 09:45 pm] – hcho | howtos:how_to_compile_peakfq_on_linux [2024-09-24 10:27 am] (current) – hcho | ||
---|---|---|---|
Line 3: | Line 3: | ||
First, [[How to install the Intel Fortran Compiler on Linux|install the Intel Fortran Compiler]]. | First, [[How to install the Intel Fortran Compiler on Linux|install the Intel Fortran Compiler]]. | ||
- | You can download the incomplete source code of PeakFQ from [[https:// | + | You can download the incomplete source code of PeakFQ from [[https:// |
<file bash compile_peakfq.sh> | <file bash compile_peakfq.sh> | ||
Line 28: | Line 28: | ||
for i in *.*; do | for i in *.*; do | ||
grep -q " | grep -q " | ||
- | for j in $(grep " | + | for j in $(grep " |
k=$(echo $j | tr A-Z a-z) | k=$(echo $j | tr A-Z a-z) | ||
sed -i " | sed -i " | ||
Line 37: | Line 37: | ||
sed -Ei "s/(, )(DENYNONE)/' | sed -Ei "s/(, )(DENYNONE)/' | ||
- | # comment out non-existent modules and data type | + | # comment out non-existent modules and data types |
sed -Ei ' | sed -Ei ' | ||
Line 46: | Line 46: | ||
sed -i "/^ *WRITE(DISCLM(1)/ | sed -i "/^ *WRITE(DISCLM(1)/ | ||
- | # reenable default | + | # reenable default |
- | sed -Ei ' | + | sed -Ei ' |
# download missing files | # download missing files | ||
Line 73: | Line 73: | ||
; do | ; do | ||
wget https:// | wget https:// | ||
+ | done | ||
+ | |||
+ | # dos to unix | ||
+ | for i in * */*; do | ||
+ | sed -i ' | ||
done | done | ||
Line 164: | Line 169: | ||
# install PeakFQ for Windows; find and copy pkfqms.wdm in lowercase | # install PeakFQ for Windows; find and copy pkfqms.wdm in lowercase | ||
# download it from this website | # download it from this website | ||
- | wget https:// | + | wget https:// |
+ | unzip pkfqms.zip | ||
+ | rm pkfqms.zip | ||
</ | </ | ||
howtos/how_to_compile_peakfq_on_linux.1727149540.txt.gz · Last modified: by hcho