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-19 06:48 am] – 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 22: | Line 22: | ||
for i in *.*; do | for i in *.*; do | ||
j=$(echo $i | tr A-Z a-z) | j=$(echo $i | tr A-Z a-z) | ||
- | [ $i = $j ] && continue | + | [ $i = $j ] || mv $i $j |
- | | + | |
done | done | ||
Line 29: | 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 38: | 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 ' |
# comment out Windows functions | # comment out Windows functions | ||
- | sed -Ei ' | + | sed -Ei ' |
+ | |||
+ | # fix disclaimer line | ||
+ | sed -i "/^ *WRITE(DISCLM(1)/ | ||
+ | |||
+ | # reenable default generalized skew computation | ||
+ | sed -Ei ' | ||
# download missing files | # download missing files | ||
Line 68: | Line 73: | ||
; do | ; do | ||
wget https:// | wget https:// | ||
+ | done | ||
+ | |||
+ | # dos to unix | ||
+ | for i in * */*; do | ||
+ | sed -i ' | ||
done | done | ||
Line 156: | Line 166: | ||
# build | # build | ||
make | make | ||
+ | |||
+ | # install PeakFQ for Windows; find and copy pkfqms.wdm in lowercase | ||
+ | # download it from this website | ||
+ | wget https:// | ||
+ | unzip pkfqms.zip | ||
+ | rm pkfqms.zip | ||
</ | </ | ||
howtos/how_to_compile_peakfq_on_linux.1726750130.txt.gz · Last modified: by hcho