| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2421 人关注过本帖
标题:一个github上的项目的readme,看不懂啊,可以帮着用大白话解释一下吗?感谢 ...
取消只看楼主 加入收藏
skyang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2021-5-30
结帖率:0
收藏
已结贴  问题点数:20 回复次数:3 
一个github上的项目的readme,看不懂啊,可以帮着用大白话解释一下吗?感谢。
https://
他这里,是说先安装三个软件(我用windows操作系统),然后执行下面操作,可是我不会啊,感谢啊。
From the git repository
Clone (recursively!) and run the setup.py script (the --shallow-submodules flag is optional, and checks out only the most recent commit of the submodules, saving rather a lot of data for Eigen)

git clone --recursive --shallow-submodules https://
cd COSMOSAC
python setup.py install
to install, or

python setup.py develop
to use a locally-compiled version for testing. If you want to build a debug version, you can do so with

python setup.py build -g develop
With a debug build, you can step into the debugger to debug the C++ code, for instance.

这是啥意思?我需要在哪个软件里操作啊,刚才装了三个软甲(cmake,vs,还有python)呢。

再然后,是下面这个,这是要干啥的啊?
Cmake build
Starting in the root of the repo (a debug build with the default compiler, here on linux):

git clone --recursive --shallow-submodules https://
cd COSMOSAC
mkdir build
cd build
cmake ..
cmake --build .
For those using Anaconda on Linux, please use the following for cmake:


mkdir build
cd build
cmake .. -DPYTHON_EXECUTABLE=`which python`
cmake --build .
For Visual Studio 2019 (64-bit) in release mode, you would do:

git clone --recursive --shallow-submodules https://
cd COSMOSAC
mkdir build
cd build
cmake .. -G "Visual Studio 17 2019 Win64"
cmake --build . --config Release
If you need to update your submodules (pybind11 and friends)

git submodule update --init
For other options, see the cmake docs

非常感谢。

我是小白,可能对大家来说,这都是低级问题,谢谢大家啦
搜索更多相关主题的帖子: build the Cmake for python 
2021-05-30 11:43
skyang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2021-5-30
收藏
得分:0 
回复 3楼 古123
非常感谢。我想知道,我想要运行这个工程,但我装了三个软件,cmake,Ancona和vs,我需要打开哪个软件才能运行啊?
非常感谢。
2021-06-01 22:41
skyang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2021-5-30
收藏
得分:0 
回复 5楼 古123
非常感谢您的回复。
事情是这样,我是学化学的,这个程序关于化学的一个模型的,即COSMOSAC。
这个GitHub的工程就是利用这个模型进行计算的,且计算需要输入和输出,这里的输入,来自于量子化学计算,经过该模型处理后,结果进行了输出。
我就想知道两个事情, 1.该工程输入、输出在哪里(代码位置?)?
                     2.该工程如何运行起来?
前面您的回复,我已经知道,运行起来,类似你上个帖子回复(尽管还没出结果!),但对上述第1个问题,不知道答案。
再次非常感谢。
2021-06-02 22:36
skyang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2021-5-30
收藏
得分:0 
回复 7楼 古123
好的,非常非常感谢您的回复。
2021-06-04 09:03
快速回复:一个github上的项目的readme,看不懂啊,可以帮着用大白话解释一下吗? ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015858 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved