def __download(self):
        """Set download source based on user parameters"""

        # Version 1.11.0 changed the package name
        if Version(self.__version) >= Version('1.11.0'):
            pkgname = 'pnetcdf'
        else:
            pkgname = 'parallel-netcdf'
        tarball = '{0}-{1}.tar.gz'.format(pkgname, self.__version)
        self.__url = '{0}/{1}'.format(self.__baseurl, tarball)
Set download source based on user parameters
hpccm/building_blocks/pnetcdf.py