!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

252 Members
77 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 May 2025
@chn:chn.moe陈浩南So why?11:39:16
@chn:chn.moe陈浩南Where is the code that make difference?11:39:32
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)some wrapping magic deep in stdenv, but probably not relevant to your issues anyways11:40:14
@chn:chn.moe陈浩南

in top-level.nix I saw the definition of gcc:

  default-gcc-version = 14;
  gcc = pkgs.${"gcc${toString default-gcc-version}"};
11:40:21
@k900:0upti.meK900Yeah it's not relevant11:40:45
@k900:0upti.meK900Post the full build log please11:40:49
@chn:chn.moe陈浩南

Currently Intel fortran compiler ifx works when compiling hdf5 and openmpi, but does not work when compiling VASP (a proprietary software, its source code is only available after purchase, so I could not provide it here).
ifx complains:

ifx: error #10417: Problem setting up the Intel(R) Compiler compilation environment. Requires 'install path' setting gathered from 'gcc'
11:46:03
@k900:0upti.meK900Does it provide any more information than that?11:46:35
@k900:0upti.meK900If not, you might just have to strace it or something11:46:41
@k900:0upti.meK900But either way this is extremely unlikely to be a stdenv issue11:46:48
@chn:chn.moe陈浩南No. I will do it another day. Thank you for your answer.11:53:57
@chn:chn.moe陈浩南* No. I will strace it another day. Thank you for your answer.11:54:14
@rosscomputerguy:matrix.orgTristan Ross
In reply to @chn:chn.moe

This is my nix repl history:

nix-repl> :lf github:NixOS/nixpkgs/nixos-unstable
Added 17 variables.

nix-repl> outputs.legacyPackages.x86_64-linux.gcc.cc
«derivation /nix/store/sjzbql9ja7p7c08ziagba11cnvj6lsz9-gcc-14.2.1.20250322.drv»

nix-repl> outputs.legacyPackages.x86_64-linux.gcc14.cc
«derivation /nix/store/f3gx5c6q45nsskjyx451amqmzyvasr90-gcc-14.2.1.20250322.drv»
stdenv.cc is built via the last bootstrap stage. gcc is built with stdenv.cc so that's why it's different.
14:03:21
@rosscomputerguy:matrix.orgTristan Ross
In reply to @chn:chn.moe

Currently Intel fortran compiler ifx works when compiling hdf5 and openmpi, but does not work when compiling VASP (a proprietary software, its source code is only available after purchase, so I could not provide it here).
ifx complains:

ifx: error #10417: Problem setting up the Intel(R) Compiler compilation environment. Requires 'install path' setting gathered from 'gcc'
What about using gfortran?
14:07:41

Show newer messages


Back to Room ListRoom Version: 9