Commit Graph

  • 23b8d988e8 Added useful comments. master Nicolás Ortega Froysa 2019-10-08 18:02:45 +02:00
  • 84687f86c1 Using a better algorithm based on property of primes. Nicolás Ortega Froysa 2019-10-08 17:58:08 +02:00
  • 2cfc24afb7 Forgot to print 2. Nicolás Ortega Froysa 2019-10-08 17:10:39 +02:00
  • d61ef9b034 Entire OpenMPI library is required. Nicolás Ortega Froysa 2019-10-08 15:36:33 +02:00
  • 23592a98ed Create linked list interface. Nicolás Ortega Froysa 2019-09-24 08:20:09 +02:00
  • fadcafaeaf Begin linking to MPI. Nicolás Ortega Froysa 2019-09-24 08:19:47 +02:00
  • 63e2eda663 Switch to using linked list. Nicolás Ortega Froysa 2019-09-24 07:10:12 +02:00
  • d5fb2b06df New objective for v2.0 Nicolás Ortega Froysa 2019-09-24 07:07:26 +02:00
  • 68ac85f3f0 Code refractoring. Nicolás Ortega Froysa 2019-09-23 20:44:23 +02:00
  • 4d470a14de Use the MPI compiler. Nicolás Ortega Froysa 2018-10-21 10:24:57 +02:00
  • 874cc75431 Only test up to the sqrt. Nicolás A. Ortega Froysa 2018-10-18 23:04:12 +02:00
  • d2e037e357 Added MPI flags. Nicolás Ortega Froysa 2018-10-18 15:26:02 +02:00
  • 90158fb04c Doxygen is no longer in use. Nicolás Ortega Froysa 2018-10-18 15:08:29 +02:00
  • bb26ae9b9f Removed CI file. Nicolás Ortega Froysa 2018-10-18 15:07:47 +02:00
  • 1b0b8fd443 Removed args.h file. Nicolás Ortega Froysa 2018-10-18 15:05:33 +02:00
  • e06e40af3b Implement verbose option. Nicolás Ortega Froysa 2018-10-18 15:05:01 +02:00
  • eaa238a900 Basic prime calculator. Nicolás Ortega Froysa 2018-10-18 14:56:15 +02:00
  • bd3181a1a0 Added linked list. Nicolás Ortega Froysa 2018-10-18 12:50:57 +02:00
  • 89811c1d02 Added new source files. Nicolás Ortega Froysa 2018-10-18 12:04:07 +02:00
  • 01a32c0e52 Fresh new start. Nicolás Ortega Froysa 2018-10-18 12:00:32 +02:00
  • 7aceb7fcc7 Remove CMake policy. Nicolás Ortega Froysa 2017-10-03 16:53:34 +02:00
  • 3348d52c49 Don't allow writing to the same file. Nicolás Ortega Froysa 2017-09-17 05:46:03 +02:00
  • c73bfd1501 Changing BLOCK_SIZE default and allowing override. Nicolás Ortega Froysa 2017-08-03 12:57:34 -05:00
  • 2afe144e7f Give install instructions. v1.0.1 Nicolás A. Ortega 2017-03-27 16:22:16 +02:00
  • a988711918 Fixed progress measurement. Nicolás A. Ortega 2017-03-16 14:59:53 +01:00
  • 74a82e2038 Case insensitive. Nicolás A. Ortega 2017-03-16 14:59:26 +01:00
  • 659bdeee27 Handle export errors. Nicolás A. Ortega 2017-02-14 12:57:11 +01:00
  • d39a51baa2 Add license information to all source files. Nicolás A. Ortega 2017-02-14 12:49:54 +01:00
  • 7fa4d9d2bf Added stuff to CHANGELOG for v1.0 v1.0 Nicolás A. Ortega 2017-02-13 17:08:30 +01:00
  • 6ed153b9e2 Will be disabling merge requests. Nicolás A. Ortega 2017-02-13 10:09:25 +01:00
  • c8d1c095ba Clarify. Nicolás A. Ortega 2017-02-13 09:56:23 +01:00
  • ae8cbed179 Details... Nicolás A. Ortega 2017-02-13 09:55:31 +01:00
  • 69028a15c8 Promote patches. Nicolás A. Ortega 2017-02-13 09:54:13 +01:00
  • b20733f3ac Append new primes to the end of a file. Nicolás A. Ortega 2017-02-13 09:47:47 +01:00
  • 2b5541d2c3 Fixed some memory leaks. Nicolás A. Ortega 2017-02-12 19:33:57 +01:00
  • 94248612ba Find the nth prime. Nicolás A. Ortega 2017-02-06 18:00:34 +01:00
  • 8ee18c8c4b Forget it, it's unnecessary. Nicolás A. Ortega 2017-02-06 17:51:07 +01:00
  • bdea1979e8 Use inline functions. Nicolás A. Ortega 2017-02-06 17:50:26 +01:00
  • a3ec19d47c Cleaned the code. Nicolás A. Ortega 2017-02-02 19:53:29 +01:00
  • 22239ec644 Preparing for v1.0 release. Nicolás A. Ortega 2017-02-02 10:46:34 +01:00
  • 22278999e7 Fixed algorithm problem. Nicolás A. Ortega 2017-02-02 10:35:43 +01:00
  • a5b68282b3 Cancel if `primes.list[i] >= numRoot'. Nicolás A. Ortega 2017-02-01 23:12:23 +01:00
  • b9cafadf8e Parallelized, but needs algorithm optimization. Nicolás A. Ortega 2017-02-01 19:36:05 +01:00
  • 32076a67cd Remove parallelization code to start anew. Nicolás A. Ortega 2017-02-01 17:18:03 +01:00
  • 9673a4da57 Use shared as default. Nicolás A. Ortega 2017-01-31 22:24:06 +01:00
  • 76936644cd Almost completely parallelized. Nicolás A. Ortega 2017-01-31 19:39:35 +01:00
  • a6ecea514f Restrict will no longer apply to `addToList' Nicolás A. Ortega 2017-01-17 00:11:51 +01:00
  • 22c7702cf0 We only need to test up to the sqrt(num). Nicolás A. Ortega 2017-01-01 17:05:25 +01:00
  • f8726497a4 Don't test for divisibility by 2. Nicolás A. Ortega 2016-12-30 17:57:28 +01:00
  • 3e902efd18 Small cleanup. Nicolás A. Ortega 2016-12-30 17:51:48 +01:00
  • 3246870b75 Better help information. Nicolás A. Ortega 2016-12-28 14:43:17 +01:00
  • 09166efe89 Small improvements and optimizations. Nicolás A. Ortega 2016-12-28 00:30:31 +01:00
  • 8b35c5aea3 Fixed title for v0.7 v0.7 Nicolás A. Ortega 2016-12-27 22:53:22 +01:00
  • 1264edc8c8 We're going to release v0.7 first. Nicolás A. Ortega 2016-12-27 22:52:06 +01:00
  • 63aa8e14cb Fixed the damn exporting for once. Nicolás A. Ortega 2016-12-27 22:34:34 +01:00
  • f2eb3e869e Fixed the file issue... Nicolás A. Ortega 2016-12-27 21:47:16 +01:00
  • a695cce709 Moving shit to files.c Nicolás A. Ortega 2016-12-27 21:31:24 +01:00
  • 096cb2eb16 Moving file I/O to own file. Everything works except export. Nicolás A. Ortega 2016-12-26 18:50:51 +01:00
  • 1783b16024 Use raw I/O for file saving. Nicolás A. Ortega 2016-12-26 16:51:51 +01:00
  • c602b5fe1b Added OpenMP to CI. Nicolás A. Ortega 2016-12-26 16:35:52 +01:00
  • 6b2411e860 Now using OpenMP for parallel programming and next version is v1.0 Nicolás A. Ortega 2016-12-26 15:57:28 +01:00
  • 6c2f96416b Read and write primes to and from file. Nicolás A. Ortega 2016-12-26 15:56:56 +01:00
  • fa3f2dd2b1 New goal before paralellization Nicolás A. Ortega 2016-12-22 16:31:24 +01:00
  • 591ee92971 Cast is unnecessary in C. Nicolás A. Ortega 2016-12-15 15:16:04 +01:00
  • 803c6f9e06 `size_t' makes this safeguard unnecessary. Nicolás A. Ortega 2016-12-14 23:42:20 +01:00
  • 4390fca3ef Added comments. Nicolás A. Ortega 2016-12-14 23:38:22 +01:00
  • 2629c12f1a Set goal for v1.0 Nicolás A. Ortega 2016-12-14 22:26:43 +01:00
  • af79d206d3 Added entry for v0.6 v0.6 Nicolás A. Ortega 2016-12-14 20:12:46 +01:00
  • 4b034ce5e3 Print more info about the file writing. Nicolás A. Ortega 2016-12-14 19:34:50 +01:00
  • f146dbf11c Able to save found primes to a file afterwards. Nicolás A. Ortega 2016-12-14 19:28:28 +01:00
  • 656fee720e Allow user to choose base. Nicolás A. Ortega 2016-12-14 19:06:33 +01:00
  • 5e45656e1a Forgot that from the switch to C. Nicolás A. Ortega 2016-12-14 17:58:12 +01:00
  • c522196d66 Argument parsing! v0.5 Nicolás A. Ortega 2016-12-14 17:52:52 +01:00
  • b5dcadce19 Added new goal for v0.5 Nicolás A. Ortega 2016-12-14 17:31:36 +01:00
  • 003b94dcdb Added some more useful docs and stuff. Nicolás A. Ortega 2016-12-14 16:14:58 +01:00
  • fcee95da17 Fixed something from the description Nicolás A. Ortega 2016-12-14 16:14:37 +01:00
  • 43620ba2d3 Enable documentation. Nicolás A. Ortega 2016-12-14 16:08:11 +01:00
  • 9f1160242a Removed warning (no longer necessary). Nicolás A. Ortega 2016-12-14 15:56:28 +01:00
  • b414bff9dc Minor optimization. Nicolás A. Ortega 2016-12-14 15:55:39 +01:00
  • d8c81b172b Print some fun information at the end. Nicolás A. Ortega 2016-12-14 15:29:06 +01:00
  • c2f0fb0ffd Defining changes for v0.5 Nicolás A. Ortega 2016-12-14 15:05:24 +01:00
  • 5bbac132bc Use size_t, which is better for arrays of very large sizes. Nicolás A. Ortega 2016-12-14 14:13:32 +01:00
  • 2a3e97f4bc Prepare version number so I don't forget later. Nicolás A. Ortega 2016-12-13 18:09:05 +01:00
  • 06d5ddb0cc Fixed problem with the algorithm. Nicolás A. Ortega 2016-12-13 18:05:02 +01:00
  • a9019291c2 New goal for v0.4 v0.4 Nicolás A. Ortega 2016-12-13 17:51:48 +01:00
  • 5aa0b333c0 Made a fix, because previously it was not measuring primes. Nicolás A. Ortega 2016-12-13 16:32:10 +01:00
  • 3110c74174 Added entry about `restrict' keyword. Nicolás A. Ortega 2016-12-13 16:12:31 +01:00
  • a5ce845c68 `restrict' keyword must be in declaration. Nicolás A. Ortega 2016-12-13 16:12:03 +01:00
  • 449fef2994 Add restrict Nicolás A. Ortega 2016-12-13 11:26:12 +01:00
  • 2e9326b5fb Preparing for v0.4 Nicolás A. Ortega 2016-12-12 23:21:22 +01:00
  • 06cb271dba Forgot to set that shit to v0.3 Nicolás A. Ortega 2016-12-12 16:20:21 +01:00
  • 4cbc3fae7d Cache the right .o files. Nicolás A. Ortega 2016-12-10 17:43:31 +01:00
  • 9b4fa96474 Remove TODO list. Nicolás A. Ortega 2016-12-10 17:41:40 +01:00
  • e2aedab3b0 Added new entry. v0.3 Nicolás A. Ortega 2016-12-10 17:12:58 +01:00
  • bc8b48dd29 Updated info for v0.3 Nicolás A. Ortega 2016-12-10 17:12:00 +01:00
  • dab78093ab Deleted macros Nicolás A. Ortega 2016-12-10 17:11:21 +01:00
  • a782bdb57d Organized TODO.md Nicolás A. Ortega 2016-12-10 15:31:04 +01:00
  • 9157d15383 Added goals for v0.3 Nicolás A. Ortega 2016-12-10 15:30:51 +01:00
  • f1fd758bfc Added entry for v0.2.1 (which I had previously forgotten). Nicolás A. Ortega 2016-12-10 14:54:12 +01:00
  • 66c0a5d027 Added a TODO list. Nicolás A. Ortega 2016-12-10 14:54:00 +01:00