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

DO NOT MERGE: Test ghactions #847

Closed
wants to merge 24 commits into from
Closed

Conversation

apcraig
Copy link
Contributor

@apcraig apcraig commented Jul 19, 2023

No description provided.

@apcraig apcraig self-assigned this Jul 19, 2023
@apcraig
Copy link
Contributor Author

apcraig commented Jul 19, 2023

@phil-blain, GHActions stopped working this week for CICE. I'm struggling a bit, just wondering if you have any suggestions. Not that good with Mac env.

The errors crop up when it's building for MPI using mpifort. The serial build using gfortran is fine. The error is on the ld step,

mpifort -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -o /Users/runner/cice-dirs/runs/conda_macos_restart_gx3_2x1.macos-latest/cice  CICE.o CICE_FinalMod.o CICE_InitMod.o CICE_RunMod.o ice_arrays_column.o ice_blocks.o ice_boundary.o ice_broadcast.o ice_calendar.o ice_communicate.o ice_constants.o ice_diagnostics.o ice_diagnostics_bgc.o ice_distribution.o ice_domain.o ice_domain_size.o ice_dyn_eap.o ice_dyn_evp.o ice_dyn_evp_1d.o ice_dyn_shared.o ice_dyn_vp.o ice_exit.o ice_fileunits.o ice_flux.o ice_flux_bgc.o ice_forcing.o ice_forcing_bgc.o ice_gather_scatter.o ice_global_reductions.o ice_grid.o ice_history.o ice_history_bgc.o ice_history_drag.o ice_history_fsd.o ice_history_mechred.o ice_history_pond.o ice_history_shared.o ice_history_snow.o ice_history_write.o ice_init.o ice_init_column.o ice_kinds_mod.o ice_memusage.o ice_memusage_gptl.o ice_read_write.o ice_reprosum.o ice_restart.o ice_restart_column.o ice_restart_driver.o ice_restart_shared.o ice_restoring.o ice_shr_reprosum86.o ice_spacecurve.o ice_state.o ice_step_mod.o ice_timers.o ice_transport_driver.o ice_transport_remap.o icepack_aerosol.o icepack_age.o icepack_algae.o icepack_atmo.o icepack_brine.o icepack_firstyear.o icepack_flux.o icepack_fsd.o icepack_intfc.o icepack_isotope.o icepack_itd.o icepack_kinds.o icepack_mechred.o icepack_meltpond_lvl.o icepack_meltpond_topo.o icepack_mushy_physics.o icepack_ocean.o icepack_orbital.o icepack_parameters.o icepack_shortwave.o icepack_snow.o icepack_therm_bl99.o icepack_therm_itd.o icepack_therm_mushy.o icepack_therm_shared.o icepack_therm_vertical.o icepack_tracers.o icepack_warnings.o icepack_wavefracspec.o icepack_zbgc.o icepack_zbgc_shared.o icepack_zsalinity.o  -L/Users/runner/miniconda/envs/cice/lib -lnetcdf -lnetcdff -llapack
ld: file not found: /System/Library/Frameworks/Security.framework/Versions/A/Security for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [/Users/runner/cice/testsuite.macos-latest/conda_macos_restart_gx3_2x1.macos-latest/Makefile:171: /Users/runner/cice-dirs/runs/conda_macos_restart_gx3_2x1.macos-latest/cice] Error 1

I have checked against a successful run last week, and it looks like nothing has changed in terms of OS versions or compiler versions.

I have confirmed that /System/Library/Frameworks/Security.framework/Versions/A/Security does not exist. I don't know if it did before or not, don't know if something changed in the compiling so it's looking for it now but shouldn't. I have tried to figure out why it's looking for that directory, but don't understand that. It's not part of the "env". I have not checked (and don't know how to check) all the details about the "pkg-config" for the compilers.

I have tried to google for anything that might be similar to this and haven't found any help.

You can see the last successful GHActions here, https://github.com/CICE-Consortium/CICE/actions/runs/5563139398.

Anyone have any ideas how to proceed? Any ideas for debugging checks to add to the workflow?

@apcraig
Copy link
Contributor Author

apcraig commented Jul 20, 2023

The code builds fine on my iMac at home with OS 11.6.4.

/System/Library/Frameworks/Security.framework/Versions/A/Security does not exist on my home machine either, but it doesn't complain.

@apcraig apcraig added the Testing label Aug 7, 2023
@apcraig apcraig closed this Aug 7, 2023
@apcraig apcraig reopened this Aug 7, 2023
@apcraig apcraig closed this Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant