计算化学公社

 找回密码 Forget password
 注册 Register
Views: 1609|回复 Reply: 5
打印 Print 上一主题 Last thread 下一主题 Next thread

[Multiwfn资源与经验] Multiwfn macOS M1 chip

[复制链接 Copy URL]

2301

帖子

1

威望

5473

eV
积分
7794

Level 6 (一方通行)

跳转到指定楼层 Go to specific reply
楼主
https://github.com/kjelljorner/multiwfn-mac-build

转载。

有兴趣自己动手哦……

评分 Rate

参与人数
Participants 1
eV +5 收起 理由
Reason
mizu-bai + 5 有空试试试 Intel Mac 上的效果

查看全部评分 View all ratings

High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

68

帖子

7

威望

1899

eV
积分
2107

Level 5 (御坂)

2#
发表于 Post on 2022-6-17 15:39:18 | 只看该作者 Only view this author
已经编译成功并正常运行,但没有图形界面支持,确实是个遗憾。

9

帖子

0

威望

243

eV
积分
252

Level 3 能力者

3#
发表于 Post on 2024-9-27 13:29:47 | 只看该作者 Only view this author
您好,想问一下编译过程中出现这个报错是怎么回事:
-- The Fortran compiler identification is GNU 11.3.0
arm64-apple-darwin20.0.0-gfortran: warning: could not understand version ‘14.00.00’
-- Checking whether Fortran compiler has -isysroot
-- Checking whether Fortran compiler has -isysroot - yes
-- Checking whether Fortran compiler supports OSX deployment target flag
-- Checking whether Fortran compiler supports OSX deployment target flag - yes
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - failed
-- Check for working Fortran compiler: /opt/anaconda3/bin/arm64-apple-darwin20.0.0-gfortran
-- Check for working Fortran compiler: /opt/anaconda3/bin/arm64-apple-darwin20.0.0-gfortran - broken
CMake Error at /opt/anaconda3/share/cmake-3.26/Modules/CMakeTestFortranCompiler.cmake:59 (message):
  The Fortran compiler

    "/opt/anaconda3/bin/arm64-apple-darwin20.0.0-gfortran"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /Users/m/multiwfn-mac-build/build/CMakeFiles/CMakeScratch/TryCompile-4ICsm5
   
    Run Build Command(s):/opt/anaconda3/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_80490/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_80490.dir/build.make CMakeFiles/cmTC_80490.dir/build
    Building Fortran object CMakeFiles/cmTC_80490.dir/testFortranCompiler.f.o
    /opt/anaconda3/bin/arm64-apple-darwin20.0.0-gfortran   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -mmacosx-version-min=14.3 -c /Users/m/multiwfn-mac-build/build/CMakeFiles/CMakeScratch/TryCompile-4ICsm5/testFortranCompiler.f -o CMakeFiles/cmTC_80490.dir/testFortranCompiler.f.o
    arm64-apple-darwin20.0.0-gfortran: warning: ‘14.3’ is not valid for ‘-mmacosx-version-min’
    Linking Fortran executable cmTC_80490
    /opt/anaconda3/bin/cmake -E cmake_link_script CMakeFiles/cmTC_80490.dir/link.txt --verbose=1
    /opt/anaconda3/bin/arm64-apple-darwin20.0.0-gfortran  -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -mmacosx-version-min=14.3 CMakeFiles/cmTC_80490.dir/testFortranCompiler.f.o -o cmTC_80490
    arm64-apple-darwin20.0.0-gfortran: warning: ‘14.3’ is not valid for ‘-mmacosx-version-min’
    ld: -rpath can only be used when targeting Mac OS X 10.5 or later
    collect2: error: ld returned 1 exit status
    make[1]: *** [cmTC_80490] Error 1
    make: *** [cmTC_80490/fast] Error 2
   
   

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)

2301

帖子

1

威望

5473

eV
积分
7794

Level 6 (一方通行)

4#
 楼主 Author| 发表于 Post on 2024-9-27 16:33:21 | 只看该作者 Only view this author
M107 发表于 2024-9-27 13:29
您好,想问一下编译过程中出现这个报错是怎么回事:
-- The Fortran compiler identification is GNU 11.3 ...

   ld: -rpath can only be used when targeting Mac OS X 10.5 or later
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

9

帖子

0

威望

243

eV
积分
252

Level 3 能力者

5#
发表于 Post on 2024-9-27 16:36:50 | 只看该作者 Only view this author
abin 发表于 2024-9-27 16:33
ld: -rpath can only be used when targeting Mac OS X 10.5 or later

您好,礼貌问一下这个情况要怎么解决呢?我的macOS是14.3

2301

帖子

1

威望

5473

eV
积分
7794

Level 6 (一方通行)

6#
 楼主 Author| 发表于 Post on 2024-9-27 16:37:39 | 只看该作者 Only view this author
M107 发表于 2024-9-27 16:36
您好,礼貌问一下这个情况要怎么解决呢?我的macOS是14.3

Please read it word by word

ld: -rpath can only be used when targeting Mac OS X 10.5 or later
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2024-11-23 14:53 , Processed in 0.176130 second(s), 22 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list