[AMBER] fftw-2.1.5 and Fedora

From: Dmitry Mukha <dvmukha.gmail.com>
Date: Sun, 21 Aug 2011 18:51:21 +0300

Dear Amber developers!
I have found that on Fedora 12 that I use on my desktop installation of
AmberTools fails due to errors of fftw-2.1.5 compiling. The problem is the
same as another one, posted here:
http://dev-archive.ambermd.org/201105/0055.html. All code has its up-to-date
patches.

By the well-known method of trials and errors I've figured out that these
modifications help to go on during compilation.

#DM PATCH1 on at15
failedok(){
if [ $? -eq 0 ]; then
    echo OK
else
    echo failed
fi
}
echo
echo DM PATCH1 on at15
echo -n "Patching $AMBERHOME/AmberTools/src/fftw-2.1.5/configure "
cd $AMBERHOME/AmberTools/src/fftw-2.1.5
sed -i 's/am__api_version="1.7"/am__api_version="1.11"/g' configure
failedok
echo -n "Removing $AMBERHOME/AmberTools/src/fftw-2.1.5/install.sh "
rm -f install.sh
failedok
echo -n "Patching $AMBERHOME/AmberTools/src/fftw-2.1.5/rfftw/Makefile*
    "
cd $AMBERHOME/AmberTools/src/fftw-2.1.5/rfftw
sed -i 's/--tag=CC //g' Makefile*
failedok
echo

I hope the code posted above will be helpful.

-- 
Sincerely,
Dmitry Mukha
Institute of Bioorganic Chemistry, NAS, Minsk, Belarus
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Aug 21 2011 - 09:00:02 PDT
Custom Search