Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 23 #24

Merged
merged 3 commits into from Nov 4, 2019
Merged

Issue 23 #24

merged 3 commits into from Nov 4, 2019

Conversation

hadfieldnz
Copy link
Contributor

No description provided.

@hadfieldnz
Copy link
Contributor Author

Please hold off on processing this pull request. I have mis-stated the situation regarding lpsolve55. I will check my facts on Monday and come up with a revised pull request and/or a comment on the Issue 23 thread.

@kshedstrom kshedstrom merged commit d495ab9 into ESMG:python3 Nov 4, 2019
@kshedstrom
Copy link
Collaborator

I'm having trouble getting scrip to compile:

./pyscrip.f90:1191:20:

       grid2_count = zero
                    1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
/import/usrlocal/pkg/compiler/GCCcore/5.4.0/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmpaofn18k4/tmp/tmpaofn18k4/src.linux-x86_64-3.7/scripmodule.o /tmp/tmpaofn18k4/tmp/tmpaofn18k4/src.linux-x86_64-3.7/fortranobject.o /tmp/tmpaofn18k4/pyscrip.o kinds_mod.o constants.o iounits.o netcdf.o grids.o remap_vars.o remap_distwgt.o remap_conserv.o remap_bilinear.o remap_bicubic.o remap_read.o remap.o timers.o remap_write.o -L. -L/usr/local/pkg/data/netCDF/4.4.1.1-foss-2016b/lib64 -L/usr/local/pkg/compiler/GCCcore/5.4.0/lib64/../lib64 -L/usr/local/pkg/compiler/GCCcore/5.4.0/lib64/../lib64 -lnetcdf -lnetcdff -ljpeg -lmfhdf -ldf -lhdf5 -lhdf5_fortran -lhdf5_hl -lhdf5hl_fortran -lgfortran -o ./scrip.cpython-37m-x86_64-linux-gnu.so
/usr/local/pkg/tools/binutils/2.26-GCCcore-5.4.0/bin/ld.gold: error: cannot find -lmfhdf
/usr/local/pkg/tools/binutils/2.26-GCCcore-5.4.0/bin/ld.gold: error: cannot find -ldf
collect2: error: ld returned 1 exit status
error: Command "/import/usrlocal/pkg/compiler/GCCcore/5.4.0/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmpaofn18k4/tmp/tmpaofn18k4/src.linux-x86_64-3.7/scripmodule.o /tmp/tmpaofn18k4/tmp/tmpaofn18k4/src.linux-x86_64-3.7/fortranobject.o /tmp/tmpaofn18k4/pyscrip.o kinds_mod.o constants.o iounits.o netcdf.o grids.o remap_vars.o remap_distwgt.o remap_conserv.o remap_bilinear.o remap_bicubic.o remap_read.o remap.o timers.o remap_write.o -L. -L/usr/local/pkg/data/netCDF/4.4.1.1-foss-2016b/lib64 -L/usr/local/pkg/compiler/GCCcore/5.4.0/lib64/../lib64 -L/usr/local/pkg/compiler/GCCcore/5.4.0/lib64/../lib64 -lnetcdf -lnetcdff -ljpeg -lmfhdf -ldf -lhdf5 -lhdf5_fortran -lhdf5_hl -lhdf5hl_fortran -lgfortran -o ./scrip.cpython-37m-x86_64-linux-gnu.so" failed with exit status 1

Oh, wait, it's picking up the non-conda netcdf. I did a module unload and all is well.

@hadfieldnz
Copy link
Contributor Author

It took me ages to build up the list of libraries (-lnetcdf etc)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants