NOAA-EMC / NCEPLIBS-external

Third-party libraries required by NCEPLIBS
Other
8 stars 16 forks source link

Cannot clone the correct file on HPC #89

Closed Minghua-Zheng-DA closed 3 years ago

Minghua-Zheng-DA commented 3 years ago

Dear coder manager, I tried to install this on San Diego Super Computer and received the following errors when using the command: git clone -b ufs-v1.1.0 --recursive https://github.com/NOAA-EMC/NCEPLIBS-external

Cloning into 'minghua/Models/GSI/NCEPLIBS-external/esmf'... fatal: unable to access 'https://git.code.sf.net/p/esmf/esmf/': Failed connect to git.code.sf.net:443; Connection timed out fatal: clone of 'https://git.code.sf.net/p/esmf/esmf' into submodule path '/minghua/Models/GSI/NCEPLIBS-external/esmf' failed Failed to clone 'esmf' a second time, aborting

Could you please advise how to resolve this issue? Thank you in advance for your time.

climbfuji commented 3 years ago

I've had this problem as well in the past on another machine. Unless that URL is blocked by your firewall, It sometimes works, sometimes times out. Try the following:

git clone -b ufs-v1.1.0 https://github.com/NOAA-EMC/NCEPLIBS-external
cd NCEPLIBS-external
git submodule update --init --recursive esmf # repeat if timeout
git submodule update --iniit --recursive # this takes care of the rest
Minghua-Zheng-DA commented 3 years ago

I've had this problem as well in the past on another machine. Unless that URL is blocked by your firewall, It sometimes works, sometimes times out. Try the following:

git clone -b ufs-v1.1.0 https://github.com/NOAA-EMC/NCEPLIBS-external
cd NCEPLIBS-external
git submodule update --init --recursive esmf # repeat if timeout
git submodule update --iniit --recursive # this takes care of the rest

Thank you so much for the comments. Seem to be working now.