SSEC_ADL4_1_1.patch failed at 66

Issues related to installation of ADL
Post Reply
mark.tolman
Posts: 12
Joined: Thu Nov 08, 2012 7:41 am
Location: Lexington, MA USA

SSEC_ADL4_1_1.patch failed at 66

Post by mark.tolman »

I'm attempting to do a clean ADL 4.1 download and install. Everything goes well until the SSEC_ADL4_1_1.patch. See the log output below. When I attempt to build ADL, it fails to compile pfaast.f, so I know this is important.

How do I fix this so it will compile on my CentOS 6.3 Linux box?

Note: this is a completely clean install. I'm using the support scripts, e.g. installAdl4.1.sh.

Thanks
Mark Tolman
MIT Lincoln Laboratory

Code: Select all

Saving to: \u201cSSEC_ADL4_1_1.patch\u201d

100%[=========================>] 23,681      --.-K/s   in 0s      

2013-01-07 08:51:57 (57.3 MB/s) - \u201cSSEC_ADL4_1_1.patch\u201d saved [23681/23681]

FINISHED --2013-01-07 08:51:57--
Downloaded: 1 files, 23K in 0s (57.3 MB/s)
install  /work_ferret/ma22447/cspp_adl_downloads/SSEC_ADL4_1_1.patch to /work_ferret/ma22447/CSPP/SSEC_ADL4_1_1.patch
patching file ADL/CMN/Utilities/DDS/ADL_HDF/src/DDSUTIL_HDFInterface.cpp
patching file ADL/CMN/Utilities/DDS/ADL_Unpacker/src/DDSASC_H5FileProperties.cpp
patching file ADL/EDR/VIIRS/clouds/cop/src/pfaast.f
Hunk #1 FAILED at 66.
Hunk #2 succeeded at 415 (offset 3 lines).
Hunk #3 succeeded at 642 (offset 3 lines).
1 out of 3 hunks FAILED -- saving rejects to file ADL/EDR/VIIRS/clouds/cop/src/pfaast.f.rej
patching file ADL/imakeconf/IDPS_Conf_Params
patching file ADL/imakeconf/PRO_Config
Hunk #1 succeeded at 319 (offset -1 lines).
patching file ADL/script/checkEnv.pl
mark.tolman
Posts: 12
Joined: Thu Nov 08, 2012 7:41 am
Location: Lexington, MA USA

Re: SSEC_ADL4_1_1.patch failed at 66

Post by mark.tolman »

Is it possible to get a copy of the correctly patched pfaast.f file, so I don't need to worry about apply the patch?
scottm

Re: SSEC_ADL4_1_1.patch failed at 66

Post by scottm »

Mark,

I am in the process of testing the ADL 4.1 patch. You will find it on the download site. There is still a patch required for use with the COTS.
Use installAdl4.1.sh as refernce. Make sure you get the latest copy.

The ADL patch from RAYTHEON is applied from the ADL_HOME directory.

patch -p1 < ~/cspp_adl_downloads/adl41IdpsAlg_p1.patch

The SSEC COTS patch is applied from the base directory.
cd $ADL_HOME
cd ..
patch -p1 -i SSEC_ADL4_1_1.patch
scottm

Re: SSEC_ADL4_1_1.patch failed at 66

Post by scottm »

My new COTS patch does not require the internal.f file. I reworked the patch so just pfasst.f is modified. Once the patch is applied pfasst.f will work with 4.4.54.4.6 and 4.6 compiles.
mark.tolman
Posts: 12
Joined: Thu Nov 08, 2012 7:41 am
Location: Lexington, MA USA

Re: SSEC_ADL4_1_1.patch failed at 66

Post by mark.tolman »

I had to modify the installADL4.1.sh script to download but not install the SSEC_ADL4_1_1 patch, then apply them in the order you mentioned above.

BUILD SUCCESSFUL!

thanks!
scottm

Re: SSEC_ADL4_1_1.patch failed at 66

Post by scottm »

Mark,

Which patch did you apply?
kbisanz
Posts: 280
Joined: Wed Jan 05, 2011 7:02 pm
Location: Omaha NE

Re: SSEC_ADL4_1_1.patch failed at 66

Post by kbisanz »

FYI, you may have just looked at the day and month of this post. It's a year old. :)
Kevin Bisanz
Raytheon Company
Post Reply